-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Version
3.0.0-alpha.76
Matter Controller
Alexa
Steps to reproduce
I have just started testing this after emulated_hue integration stopped working. Mostly it is brilliant, but I have found this one anomaly. If a light is off and I say "alexa set the square light to 40", the light comes on but at whatever previous brightness it was at. If I say it again once it is on, the brightness is set correctly.
In the addon log messages below, I said this twice. First time with the light off, there is an "on" followed by the level setting to apparently the correct level, but the light came on at 100% (its previous setting). I then say it again, there is only the level set this time, and the light responds correctly. This light is a hue bulb connected to a sonoff zigbee dongle on HA.
I have also captured any call_service events in HA in a node red debug node (not the same time as the addon logs, but the exact same sequence). The first turn_on event does not include a brightness value, and there is no separate call for that even though there are "on" and a "level" calls in the addon log. The second time I say it, with the light already on, the turn_on event DOES include the brightness level.
So - whatever the addon is doing when a command including a brightness level for a light that is currently off comes in, that brightness is not making it through to any call_service event that HA eventually issues.
State and attributes
effect_list:
- blink
- breathe
- okay
- channel_change
- candle
- finish_effect
- stop_effect
- stop_hue_effect
supported_color_modes: - brightness
effect: null
color_mode: brightness
brightness: 102
friendly_name: Square light
supported_features: 44
Relevant log output
2025-08-07 13:18:57.772 INFO BehaviorServer Invoke 36fc5bf6084f404a8ce9b22c5890eaf3.aggregator.light_square_light.on online#2eea801@166e87a36d6c491 (no payload)
2025-08-07 13:18:57.795 INFO BehaviorServer Invoke 36fc5bf6084f404a8ce9b22c5890eaf3.aggregator.light_square_light.moveToLevel online#2eea803@166e87a36d6c491 level: 102 transitionTime: 0 optionsMask: { executeIfOff: false, coupleColorTempToLevel: false } optionsOverride: { executeIfOff: false, coupleColorTempToLevel: false }
2025-08-07 13:19:09.266 INFO BehaviorServer Invoke 36fc5bf6084f404a8ce9b22c5890eaf3.aggregator.light_square_light.moveToLevel online#2eea806@166e87a36d6c491 level: 102 transitionTime: 0 optionsMask: { executeIfOff: false, coupleColorTempToLevel: false } optionsOverride: { executeIfOff: false, coupleColorTempToLevel: false }
event data captured in node red:
8/7/2025, 1:30:38 PMnode: debug 30
msg : Object
object
savedevent: object
event_type: "call_service"
entity_id: undefined
event: object
domain: "light"
service: "turn_on"
service_data: object
entity_id: array[1]
0: "light.square_light"
origin: "LOCAL"
time_fired: "2025-08-07T12:30:38.791622+00:00"
context: object
id: "01K22864674VX1901V2W2813PR"
parent_id: null
user_id: "1287a7e769504f788032162cbe21ad46"
_msgid: "0de0b10e0775b210"
8/7/2025, 1:31:03 PMnode: debug 30
msg : Object
object
savedevent: object
event_type: "call_service"
entity_id: undefined
event: object
domain: "light"
service: "turn_on"
service_data: object
brightness: 102
entity_id: array[1]
origin: "LOCAL"
time_fired: "2025-08-07T12:31:03.883717+00:00"
context: object
_msgid: "a5af74f0df0be180"
8/7/2025, 1:32:55 PMnode: debug 30
msg : Object
{ savedevent: object, _msgid: "a42d8308c6d683f9" }
Documentation & Issues
- I have reviewed the documentation and the linked troubleshooting guide.
- I have searched the issues for a similar problem.