Advertisement
Guest User

Untitled

a guest
Oct 26th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2017-10-26 17:35:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.miflora_01_battery is taking over 10 seconds
  2. 2017-10-26 17:35:37 WARNING (MainThread) [homeassistant.components.switch] Updating broadlink switch took longer than the scheduled update interval 0:00:30
  3. 2017-10-26 17:35:46 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.mp1_slot_4 fails
  4. Traceback (most recent call last):
  5.   File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
  6.     yield from self.async_device_update()
  7.   File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity.py", line 309, in async_device_update
  8.     yield from self.hass.async_add_job(self.update)
  9.   File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
  10.     yield self  # This tells Task to wait for completion.
  11.   File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
  12.     future.result()
  13.   File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
  14.     raise self._exception
  15.   File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
  16.     result = self.fn(*self.args, **self.kwargs)
  17.   File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/switch/broadlink.py", line 339, in update
  18.     self._state = self._parent_device.get_outlet_status(self._slot)
  19.   File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/switch/broadlink.py", line 352, in get_outlet_status
  20.     return self._states['s{}'.format(slot)]
  21. TypeError: 'NoneType' object is not subscriptable
  22. 2017-10-26 17:35:46 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.mp1_slot_1 fails
  23. Traceback (most recent call last):
  24.   File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
  25.     yield from self.async_device_update()
  26.   File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity.py", line 309, in async_device_update
  27.     yield from self.hass.async_add_job(self.update)
  28.   File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
  29.     yield self  # This tells Task to wait for completion.
  30.   File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
  31.     future.result()
  32.   File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
  33.     raise self._exception
  34.   File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
  35.     result = self.fn(*self.args, **self.kwargs)
  36.   File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/switch/broadlink.py", line 339, in update
  37.     self._state = self._parent_device.get_outlet_status(self._slot)
  38.   File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/switch/broadlink.py", line 352, in get_outlet_status
  39.     return self._states['s{}'.format(slot)]
  40. TypeError: 'NoneType' object is not subscriptable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement