Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError on HomeAssistant #7306

Closed
vdkeybus opened this issue May 3, 2021 · 1 comment
Closed

KeyError on HomeAssistant #7306

vdkeybus opened this issue May 3, 2021 · 1 comment
Labels
problem Something isn't working

Comments

@vdkeybus
Copy link

vdkeybus commented May 3, 2021

Hi,

I made a mistake, lost my configuration and had to re-pair all devices. However, I'm now facing a problem in HA. Is this something that's wrong in Z2M or HA ?

May 03 00:12:17 zacate hass[3333011]: 2021-05-03 00:12:17 ERROR (MainThread) [homeassistant.util.logging] Exception in state_received when handling msg on 'zigbee2mqtt/0x680ae2fffead62ea': '{"brightness":254,"color":{"x":0.4599,"y":0.41>
May 03 00:12:17 zacate hass[3333011]: Traceback (most recent call last):
May 03 00:12:17 zacate hass[3333011]:   File "/home/homeassistant/homeassistant/lib/python3.8/site-packages/homeassistant/components/mqtt/debug_info.py", line 32, in wrapper
May 03 00:12:17 zacate hass[3333011]:     msg_callback(msg)
May 03 00:12:17 zacate hass[3333011]:   File "/home/homeassistant/homeassistant/lib/python3.8/site-packages/homeassistant/components/mqtt/light/schema_json.py", line 306, in state_received
May 03 00:12:17 zacate hass[3333011]:     self._update_color(values)
May 03 00:12:17 zacate hass[3333011]:   File "/home/homeassistant/homeassistant/lib/python3.8/site-packages/homeassistant/components/mqtt/light/schema_json.py", line 245, in _update_color
May 03 00:12:17 zacate hass[3333011]:     color_mode = values["color_mode"]
May 03 00:12:17 zacate hass[3333011]: KeyError: 'color_mode'

Thanks,

@vdkeybus vdkeybus added the problem Something isn't working label May 3, 2021
@vdkeybus
Copy link
Author

vdkeybus commented May 3, 2021

I see this is probably #7220.

@vdkeybus vdkeybus closed this as completed May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant