Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2018-03-22 10:16:29 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.philips_tv fails
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
- yield from self.async_device_update()
- File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
- yield from self.hass.async_add_job(self.update)
- File "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__
- yield self # This tells Task to wait for completion.
- File "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
- future.result()
- File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
- raise self._exception
- File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 319, in wrapper
- result = method(*args, **kwargs)
- File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/media_player/philips_js.py", line 205, in update
- self._tv.getChannels()
- File "/srv/homeassistant/lib/python3.6/site-packages/haphilipsjs/__init__.py", line 83, in getChannels
- r = self._getReq('channels')
- File "/srv/homeassistant/lib/python3.6/site-packages/haphilipsjs/__init__.py", line 33, in _getReq
- return json.loads(resp.text)
- File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement