home-assistant-twinkly icon indicating copy to clipboard operation
home-assistant-twinkly copied to clipboard

Updating command_line switch took longer than the scheduled update interval 0:00:30

Open rourke opened this issue 5 years ago • 2 comments

I keep getting this error:

2019-12-11 12:54:42 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 12:55:13 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 12:55:43 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 12:56:14 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 12:56:45 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 12:57:16 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 12:57:47 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 12:58:18 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 12:58:48 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 12:59:19 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 12:59:50 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 13:00:21 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 13:00:52 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 13:01:23 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 13:01:54 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 13:02:25 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 13:02:56 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30
2019-12-11 13:03:27 WARNING (MainThread) [homeassistant.components.switch] Updating command_line switch took longer than the scheduled update interval 0:00:30

After a restart of Home Assistant it silent for a while, after which it starts spamming again. The Twinkly command switch works most of the time, but I might do automations based on the switch state. So I need this to update correctly. What is causing this?

rourke avatar Dec 11 '19 12:12 rourke

Yeah I started seeing this too recently. It started working again randomly and haven't bothered to look into it. I think someone is working on an mqtt version as well which would make this obsolete.

joshkay avatar Dec 21 '19 21:12 joshkay

This is happening to me on a regular basis now. Once it's spamming the logs, it HA prevents me from controling any other command_line switches

mrdarrengriffin avatar Apr 12 '20 15:04 mrdarrengriffin