Skip to content

Everything working(?) but lots of error messages in log #7

@Rikkie80

Description

@Rikkie80

Since a couple of days my log is flooded with error messages:

2020-11-10 11:09:22 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.ambilight_hue fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 278, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update
    raise exc
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/philips_ambilight+hue/switch.py", line 91, in update
    self.getState()
  File "/config/custom_components/philips_ambilight+hue/switch.py", line 81, in getState
    ahstat = fullstate['values'][0]['value']['data']['value']
KeyError: 'data'

I'm running HA 0.117.5 and my TV is an 65OLED854 on TPM191E _ 101.001.079.005

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions