You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023-12-13 19:38:21.233807 INFO media_lights_sync: Skipped black color for 'light.pedestal_1' light
2023-12-13 19:38:21.235094 INFO media_lights_sync: Set 'light.pedestal_2' light:
{'transition': 30, 'rgb_color': [], 'brightness': 255}
2023-12-13 19:38:21.239805 INFO media_lights_sync: Set 'light.pedestal_3' light:
{'transition': 30, 'rgb_color': [], 'brightness': 255}
2023-12-13 19:38:21.245798 INFO media_lights_sync: Set 'light.pedestal_4' light:
{'transition': 30, 'rgb_color': [], 'brightness': 255}
2023-12-13 19:38:21.257059 WARNING HASS: Error calling Home Assistant service default/homeassistant/turn_on
2023-12-13 19:38:21.295120 WARNING HASS: Code: 400, error: 400: Bad Request
2023-12-13 19:38:21.296774 WARNING HASS: Error calling Home Assistant service default/homeassistant/turn_on
2023-12-13 19:38:21.297256 WARNING HASS: Code: 400, error: 400: Bad Request
2023-12-13 19:38:21.297883 WARNING HASS: Error calling Home Assistant service default/homeassistant/turn_on
2023-12-13 19:38:21.298322 WARNING HASS: Code: 400, error: 400: Bad Request
I fixed this by changing the black check to:
if color == [0, 0, 0] or len(color) == 0:
However, I'm not sure if this is actually best fixed elsewhere, as I'm using quantization_method: libimagequant and perhaps other methods always return values.
The text was updated successfully, but these errors were encountered:
Describe the bug
While the first light is properly skipped, at least when using the method 400 errors are still thrown.
To Reproduce
Steps to reproduce the behavior:
I fixed this by changing the black check to:
However, I'm not sure if this is actually best fixed elsewhere, as I'm using
quantization_method: libimagequant
and perhaps other methods always return values.The text was updated successfully, but these errors were encountered: