Closed PolestarWx closed 1 year ago
This is the debug log of wled integration, after clicking on the lovelace tile
2023-01-20 16:51:41.869 INFO (MainThread) [homeassistant.components.wled] Fetching wled data recovered
2023-01-20 16:51:41.869 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 1.808 seconds (success: True)
2023-01-20 16:51:43.306 DEBUG (MainThread) [homeassistant.components.wled] Manually updated wled data
2023-01-20 16:51:44.686 INFO (MainThread) [homeassistant.components.wled] Connection to the WLED WebSocket on 192.168.3.220 has been closed
2023-01-20 16:51:54.630 INFO (MainThread) [homeassistant.components.wled] Fetching wled data recovered
2023-01-20 16:51:54.631 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 1.570 seconds (success: True)
2023-01-20 16:51:56.069 INFO (MainThread) [homeassistant.components.wled] Connection to the WLED WebSocket on 192.168.3.220 has been closed
2023-01-20 16:52:05.884 INFO (MainThread) [homeassistant.components.wled] Fetching wled data recovered
2023-01-20 16:52:05.885 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 1.824 seconds (success: True)
2023-01-20 16:52:07.096 INFO (MainThread) [homeassistant.components.wled] Connection to the WLED WebSocket on 192.168.3.220 has been closed
2023-01-20 16:53:15.496 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 1.436 seconds (success: True)
2023-01-20 16:53:22.203 DEBUG (MainThread) [homeassistant.components.wled] Manually updated wled data
2023-01-20 16:53:24.213 DEBUG (MainThread) [homeassistant.components.wled] Manually updated wled data
2023-01-20 16:53:26.242 DEBUG (MainThread) [homeassistant.components.wled] Manually updated wled data
2023-01-20 16:53:28.985 DEBUG (MainThread) [homeassistant.components.wled] Manually updated wled data
2023-01-20 16:53:30.989 DEBUG (MainThread) [homeassistant.components.wled] Manually updated wled data
2023-01-20 16:53:32.998 DEBUG (MainThread) [homeassistant.components.wled] Manually updated wled data
2023-01-20 16:53:35.066 INFO (MainThread) [homeassistant.components.wled] Connection to the WLED WebSocket on 192.168.3.220 has been closed
2023-01-20 16:53:43.300 INFO (MainThread) [homeassistant.components.wled] Fetching wled data recovered
2023-01-20 16:53:43.300 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 1.239 seconds (success: True)
2023-01-20 16:53:43.885 DEBUG (MainThread) [homeassistant.components.wled] Manually updated wled data
2023-01-20 16:53:44.524 DEBUG (MainThread) [homeassistant.components.wled] Manually updated wled data
2023-01-20 16:53:46.527 DEBUG (MainThread) [homeassistant.components.wled] Manually updated wled data
2023-01-20 16:53:48.538 DEBUG (MainThread) [homeassistant.components.wled] Manually updated wled data
2023-01-20 16:53:58.719 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.658 seconds (success: True)
Found the culprit, the infinite requests was because of custom:light-entity-card in the browser mod popup
The problem
Description of the problem
I created a scene that use a WLED entity, but if I use scene.turn_on in a browser mod popup, I cannot turn_off the light, it turn off but turn_on again one second after, it seems like the action of turning on the scene is contently activated once clicked. The only option is to clear cache of browser. Other control are ok but the device seems to go unavailable more often once the scene is activated (seems to be flood my too many request). It does the same things with wled preset.
Lovelace card with browser_mod popup
Screenshot of the problem
Scene.yaml
What version of Home Assistant Core has the issue?
2023.1.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Wled
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response