ferdydek
(ferdydek)
May 26, 2017, 8:58pm
1
I have defined command_line
switches where the state
command takes around 40 seconds to return value
.
In effect I’m receiving a lot of useless warnings in the logs.
WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.philipstv is taking over 10 seconds
Do you think it will be possible to implement that feature in similar way its done for example for hue ?
Thanks!
treno
(travis reno)
May 26, 2017, 11:46pm
2
Sorry, this isn’t a direct answer to your question, but you can resolve the logging problem by configuring the logging component
logs:
homeassistant.components.switch: critical
ferdydek
(ferdydek)
May 26, 2017, 11:52pm
3
Thank you, however this would hide all errors, including real operational errors, that for example command ON/OFF was not able to run, not only the particular update state error.
treno
(travis reno)
May 27, 2017, 12:40am
4
Sure, so if you just wanted to not log the warnings, you could set the level to ERROR
details are here: