-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
"ULID must be 26 characters" after 2023.4 upgrade when using adaptive lighting custom component #90887
Comments
Hey there @balloob, @marcelveldt, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) hue documentation |
Traceback (most recent call last): |
Which integration is triggering the hue to change state? |
changelog: bdraco/ulid-transform@v0.5.1...v0.6.0 to find the source of the invalid ulids in #90887
changelog: bdraco/ulid-transform@v0.5.1...v0.6.0 to find the source of the invalid ulids in #90887
Ensures states can still be recorded if the context has an invalid ULID attached as seen in #90887
* Bump ulid-transform 0.6.0 changelog: bdraco/ulid-transform@v0.5.1...v0.6.0 to find the source of the invalid ulids in #90887
It looks like https://github.com/basnijholt/adaptive-lighting is creating non-ULID contexts |
Same issue here with Home Assistant 2023.4.0. Also because of AL. |
Custom integrations are not supported by the Home Assistant project. In this case, an issue is available upstream: basnijholt/adaptive-lighting#493 Please follow that issue for the progress of this specific issue. Going to close this issue on our end, as there is nothing we can do. ../Frenck |
* Bump ulid-transform 0.6.0 changelog: bdraco/ulid-transform@v0.5.1...v0.6.0 to find the source of the invalid ulids in #90887
Not using MariaDB or adaptive lighting. ` Logger: homeassistant.components.recorder.models.context Error converting ulid ec_e56e04_f82f60003d5d21ce4a5c21a782 to bytes: ULID must be a 26 character string: ec_e56e04_f82f60003d5d21ce4a5c21a782 |
The problem
I'm seeing a number of log entries complaining about ULID length. Appears to be limited to Philips Hue lights.
"Error while processing event EventTask(event=<Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.office, transition=45.0, brightness=255, color_temp_kelvin=3755>): ULID must be 26 characters"
This seems to be happening on a lot of my lights.
What version of Home Assistant Core has the issue?
core-2023.4.0
What was the last working version of Home Assistant Core?
2023.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Philips Hue
Link to integration documentation on our website
https://www.home-assistant.io/integrations/hue/
Diagnostics information
config_entry-hue-d7dc657c10ad8cd0238aee966afd9d13.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
Error while processing event EventTask(event=<Event state_changed[L]: entity_id=light.office, old_state=<state light.office=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=255, color_temp_kelvin=3717, color_temp=269, hs_color=(26.983, 40.252), rgb_color=(255, 198, 152), xy_color=(0.439, 0.37), is_hue_group=True, hue_scenes={'Morning', 'Evening'}, hue_type=room, lights={'Office desk LED strip', 'Office front left', 'Office rear right', 'Office Floor Lamp', 'Office rear left', 'Office front right'}, dynamics=False, icon=mdi:light-recessed, friendly_name=Office Ceiling Lights, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2023-04-05T15:52:59.421792-07:00>, new_state=<state light.office=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=255, color_temp_kelvin=3703, color_temp=270, hs_color=(26.994, 40.533), rgb_color=(255, 198, 151), xy_color=(0.44, 0.371), is_hue_group=True, hue_scenes={'Morning', 'Evening'}, hue_type=room, lights={'Office desk LED strip', 'Office front left', 'Office rear right', 'Office Floor Lamp', 'Office rear left', 'Office front right'}, dynamics=False, icon=mdi:light-recessed, friendly_name=Office Ceiling Lights, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2023-04-05T15:52:59.421792-07:00>>): ULID must be 26 characters
Error while processing event EventTask(event=<Event state_changed[L]: entity_id=light.office, old_state=<state light.office=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=255, color_temp_kelvin=3703, color_temp=270, hs_color=(26.994, 40.533), rgb_color=(255, 198, 151), xy_color=(0.44, 0.371), is_hue_group=True, hue_scenes={'Morning', 'Evening'}, hue_type=room, lights={'Office desk LED strip', 'Office front left', 'Office rear right', 'Office Floor Lamp', 'Office rear left', 'Office front right'}, dynamics=False, icon=mdi:light-recessed, friendly_name=Office Ceiling Lights, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2023-04-05T15:52:59.421792-07:00>, new_state=<state light.office=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=255, color_temp_kelvin=3717, color_temp=269, hs_color=(26.983, 40.252), rgb_color=(255, 198, 152), xy_color=(0.439, 0.37), is_hue_group=True, hue_scenes={'Morning', 'Evening'}, hue_type=room, lights={'Office desk LED strip', 'Office front left', 'Office rear right', 'Office Floor Lamp', 'Office rear left', 'Office front right'}, dynamics=False, icon=mdi:light-recessed, friendly_name=Office Ceiling Lights, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2023-04-05T15:52:59.421792-07:00>>): ULID must be 26 characters
Error while processing event EventTask(event=<Event state_changed[L]: entity_id=light.office_lights_all, old_state=<state light.office_lights_all=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, effect_list=['None', 'candle', 'fire'], supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, 'onoff', <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=255, color_temp_kelvin=3707, color_temp=269, hs_color=(26.991, 40.453), rgb_color=(255, 198, 151), xy_color=(0.44, 0.371), effect=None, entity_id=['light.office', 'light.office_benq_desk_light', 'light.office_floor_lamp', 'light.office_desk_led_strip'], icon=mdi:lightbulb-group, friendly_name=Office Lights - All, supported_features=LightEntityFeature.TRANSITION|FLASH|EFFECT @ 2023-04-05T15:53:00.441768-07:00>, new_state=<state light.office_lights_all=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, effect_list=['None', 'candle', 'fire'], supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, 'onoff', <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=255, color_temp_kelvin=3712, color_temp=269, hs_color=(26.987, 40.352), rgb_color=(255, 198, 152), xy_color=(0.439, 0.37), effect=None, entity_id=['light.office', 'light.office_benq_desk_light', 'light.office_floor_lamp', 'light.office_desk_led_strip'], icon=mdi:lightbulb-group, friendly_name=Office Lights - All, supported_features=LightEntityFeature.TRANSITION|FLASH|EFFECT @ 2023-04-05T15:53:00.441768-07:00>>): ULID must be 26 characters
Error while processing event EventTask(event=<Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.office, transition=45.0, brightness=255, color_temp_kelvin=3675>): ULID must be 26 characters
Error while processing event EventTask(event=<Event state_changed[L]: entity_id=light.office, old_state=<state light.office=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=255, color_temp_kelvin=3703, color_temp=270, hs_color=(26.994, 40.533), rgb_color=(255, 198, 151), xy_color=(0.44, 0.371), is_hue_group=True, hue_scenes={'Morning', 'Evening'}, hue_type=room, lights={'Office desk LED strip', 'Office front left', 'Office rear right', 'Office Floor Lamp', 'Office rear left', 'Office front right'}, dynamics=False, icon=mdi:light-recessed, friendly_name=Office Ceiling Lights, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2023-04-05T15:52:59.421792-07:00>, new_state=<state light.office=on; min_color_temp_kelvin=2000, max_color_temp_kelvin=6535, min_mireds=153, max_mireds=500, supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=255, color_temp_kelvin=3676, color_temp=272, hs_color=(27.015, 41.078), rgb_color=(255, 197, 150), xy_color=(0.441, 0.37), is_hue_group=True, hue_scenes={'Morning', 'Evening'}, hue_type=room, lights={'Office desk LED strip', 'Office front left', 'Office rear right', 'Office Floor Lamp', 'Office rear left', 'Office front right'}, dynamics=False, icon=mdi:light-recessed, friendly_name=Office Ceiling Lights, supported_features=LightEntityFeature.TRANSITION|FLASH @ 2023-04-05T15:52:59.421792-07:00>>): ULID must be 26 characters
The text was updated successfully, but these errors were encountered: