I have 3 P100 plugs added through Tapo Control integration, one of them is unplugged and offline. But the Tapo integration continuously tries to connect to the last one, and in the process making the communication with WLED API super slow/unstable.
Reproduction Steps
Add a smart plug to HA
Take the plug offline
Look at the Supervisor logs for
Failed to setup Error communication with API: Cannot connect to host <ip:port> ssl:default [Connect call failed ('<ip:port>)] Failed to setup Error communication with API: Cannot connect to host <ip:port> ssl:default [Network unreachable]
Disable smart plug in integration, logs disappear and other integrations work fine again.
Expected behavior
I want the Tapo integration to poll less if the device is not online.
Description
I have 3 P100 plugs added through Tapo Control integration, one of them is unplugged and offline. But the Tapo integration continuously tries to connect to the last one, and in the process making the communication with WLED API super slow/unstable.
Reproduction Steps
Failed to setup Error communication with API: Cannot connect to host <ip:port> ssl:default [Connect call failed ('<ip:port>)] Failed to setup Error communication with API: Cannot connect to host <ip:port> ssl:default [Network unreachable]
Expected behavior
I want the Tapo integration to poll less if the device is not online.
If applicable, add error logs.
update_coordinator.txt custom_components.tapo_control.init.txt wled_logs.txt
Device Firmware
1.1.5 Build 230324 Rel.143956
Using stream component
No
Does camera work via official integrations?
N/A
Camera has all attributes filled out in developer tools
No
HASS Environment
N/A
Search for similar issues
Yes
Additional information
Added the logs i got for WLED until i disabled the offline Tapo plug in integration.