mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-03-13 20:11:32 +00:00

As UDP datagrams may get lost in transit, e.g., due to poor network connectivity, we can improve the detection rate by sending multiple datagrams and hoping some will get through to the devices. Confirmed to improve the detection by @scubanarc: https://github.com/home-assistant/home-assistant/issues/21966 This is a new configurable option, defaulting to three discover packets.