Hey’all: I wanted to report kind of a big issue with 0.39 and the media player component. I went to login to the interface, and I have roughly 120 duplicate Roku TV component’s and an equal number of Plex components as well. Upon reviewing the log I have the specific arbitrarily different exceptions being thrown back and forth throughout my log
17-03-02 16:35:00 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback <function async_subscribe.<locals>.async_mqtt_topic_subscriber at 0x7f11840b78c8>
Traceback (most recent call last):
File "uvloop/cbhandles.pyx", line 49, in uvloop.loop.Handle._run (uvloop/loop.c:48380)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 204, in async_mqtt_topic_subscriber
event.data[ATTR_PAYLOAD], event.data[ATTR_QOS])
File "/usr/src/app/homeassistant/core.py", line 246, in async_run_job
target(*args)
File "/usr/src/app/homeassistant/components/light/mqtt.py", line 170, in brightness_received
device_value = float(templates[CONF_BRIGHTNESS](payload))
ValueError: could not convert string to float: 'null'
17-03-02 16:35:00 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback <function async_subscribe.<locals>.async_mqtt_topic_subscriber at 0x7f11840b78c8>
Traceback (most recent call last):
File "uvloop/cbhandles.pyx", line 49, in uvloop.loop.Handle._run (uvloop/loop.c:48380)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 204, in async_mqtt_topic_subscriber
event.data[ATTR_PAYLOAD], event.data[ATTR_QOS])
File "/usr/src/app/homeassistant/core.py", line 246, in async_run_job
target(*args)
File "/usr/src/app/homeassistant/components/light/mqtt.py", line 170, in brightness_received
device_value = float(templates[CONF_BRIGHTNESS](payload))
ValueError: could not convert string to float: 'null'
17-03-02 17:00:37 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback <function async_subscribe.<locals>.async_mqtt_topic_subscriber at 0x7f11840b78c8>
Traceback (most recent call last):
File "uvloop/cbhandles.pyx", line 49, in uvloop.loop.Handle._run (uvloop/loop.c:48380)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 204, in async_mqtt_topic_subscriber
event.data[ATTR_PAYLOAD], event.data[ATTR_QOS])
File "/usr/src/app/homeassistant/core.py", line 246, in async_run_job
target(*args)
File "/usr/src/app/homeassistant/components/light/mqtt.py", line 170, in brightness_received
device_value = float(templates[CONF_BRIGHTNESS](payload))
ValueError: could not convert string to float: 'null'
Then It’ll randomly throw this exception
17-03-02 16:47:41 WARNING (MainThread) [homeassistant.components.media_player] Updating roku media_player took longer than the scheduled update interval 0:00:10
17-03-02 16:54:32 WARNING (MainThread) [homeassistant.components.media_player] Updating roku media_player took longer than the scheduled update interval 0:00:10
17-03-02 16:54:42 WARNING (MainThread) [homeassistant.components.media_player] Updating roku media_player took longer than the scheduled update interval 0:00:10
17-03-02 16:54:53 WARNING (MainThread) [homeassistant.components.media_player] Updating roku media_player took longer than the scheduled update interval 0:00:10
17-03-02 16:59:36 WARNING (MainThread) [homeassistant.components.media_player] Updating roku media_player took longer than the scheduled update interval 0:00:10
It will either be roku.media_player or plex.media_player, but they exception is the same. I have the discovery component enabled along with MQTT discovery. Amy ideas??