Closed Cheerpipe closed 3 months ago
matterbridge-home-assistant start without errors and register the light but the exception is thrown as soon as the light goes off
It appears the addon can't handle null attributes like brightness when devices goes off.
I have seen a similar behavior with the colors, but no of my lights populate a null brightness when turned off. For me the brightness stays at its level but the state changes to „off“. even in home assistant i can still see the brightness level after turning The light off.
But okay - another edge case to do 😁
I'm seeing loads of entries in the materbridge logs as well while the lights are off.
16:54:00.008] [MatterbridgeDevice] FROM HA: light.masterbedroom_light changed brightness to null [16:54:03.532] [MatterbridgeDevice] FROM HA: light.50w_pir_cw_floodlight changed brightness to undefined [16:54:03.532] [MatterbridgeDevice] FROM HA: light.masterbedroom_light changed brightness to null [16:54:07.377] [MatterbridgeDevice] FROM HA: light.50w_pir_cw_floodlight changed brightness to undefined [16:54:07.377] [MatterbridgeDevice] FROM HA: light.masterbedroom_light changed brightness to null [16:54:20.790] [MatterbridgeDevice] FROM HA: light.50w_pir_cw_floodlight changed brightness to undefined [16:54:20.790] [MatterbridgeDevice] FROM HA: light.masterbedroom_light changed brightness to null [16:54:23.669] [MatterbridgeDevice] FROM HA: light.50w_pir_cw_floodlight changed brightness to undefined [16:54:23.669] [MatterbridgeDevice] FROM HA: light.50w_pir_cw_floodlight changed brightness to undefined [16:54:23.669] [MatterbridgeDevice] FROM HA: light.masterbedroom_light changed brightness to null [16:54:23.670] [MatterbridgeDevice] FROM HA: light.masterbedroom_light changed brightness to null
Could you give it a try with version 0.5.2 ?
So far so good.
Tested with Yeelight Color2 bulbs and a WLED led stripe.
Thanks.
My light attributes when off (light is off when matterbridge throw the eror):
When on: