HA and mysensors... Now broken in 0.66

Get the following errors upon the start of HA and no frontend showing up

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 227, in async_update_ha_state
    unit_of_measurement = self.unit_of_measurement
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/mysensors.py", line 73, in unit_of_measurement
    unit, _ = self._get_sensor_type()
TypeError: 'NoneType' object is not iterable
2018-03-31 11:22:13 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-03-31 11:22:14 ERROR (SyncWorker_13) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-03-31 11:22:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 227, in async_update_ha_state
    unit_of_measurement = self.unit_of_measurement
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/mysensors.py", line 73, in unit_of_measurement
    unit, _ = self._get_sensor_type()
TypeError: 'NoneType' object is not iterable
2018-03-31 11:22:16 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-03-31 11:22:16 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved

Fixed in:

2 Likes

Confirm that the bug is fixed with this PR

1 Like