Pete's Log: Philips Hue and the latest Home Assistant

Entry #2156, (Home Automation)
(posted when I was 44 years old.)

After last night's adventures updating zwave-js, I decided today to go big and update Home Assistant. It was mostly fine, but the Philips Hue integration decided to stop working. The HA logs were far from helpful:

2022-10-16 23:57:00.209 ERROR (MainThread) [aiohue.v2[Philips-hue].scene] Unable to parse resource, please report this to the authors of aiohue. Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/aiohue/v2/controllers/base.py", line 200, in _handle_event cur_item = self._items[item_id] = dataclass_from_dict( File "/usr/local/lib/python3.10/site-packages/aiohue/util.py", line 209, in dataclass_from_dict **{ File "/usr/local/lib/python3.10/site-packages/aiohue/util.py", line 210, in field.name: _parse_value( File "/usr/local/lib/python3.10/site-packages/aiohue/util.py", line 178, in _parse_value raise KeyError(f"`{name}` of type `{value_type}` is required.") KeyError: "`Scene.palette` of type `` is required."

I tried re-adding the Hue integration, but no luck. It connects to the Hue fine, but gives me the same error.

I just wanted to get to bed, so I pulled up the Hue app on my phone for the first time in forever to turn the lights off. It needed to re-pair with the Hue bridge and after doing so, informed me the Hue needed some mandatory updates. So I let those updates install and then figured I'd see if those updates fix the situation.

Sure enough, after letting the updates install and re-adding the HA Hue integration yet again, everything worked. So I guess HA just gave up on backwards compatibility with older Hue software. Which is fine, it'd just be nice if the error messages were nicer.