-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Zigbee scenes are not exposed to Home Assistant. #18481
Comments
+1 I expected the same behaviour (ie: group scenes to be automagically imported into HA as scenes; also coming from DECONZ so I expected similar behaviour) but apparently, for Z2M you should create the scenes manually. In case it helps, here is one excerp from my configuration:
Where 'Kitchen' is the Group Name and scene Standard has the Scene ID=0 and Visit has the Scene ID=1 I don't know if it is planned to support the automatically discover of Scenes from HA but in the meantime, this approach does the trick. References: |
Thanks for responding and confirming that my experience of zigbee2mqtt is not simply a mistake from my side. As you are, I'm coming from a deCONZ setup where this automatically happens. And as other things (e.g. temperature sensors, lights, switches, power monitors etc) are created "automagically" by the zigbee2mqtt software I think (hope) the effort in "fixing" also the scenes in the same way is quite low, given that you know the code base, language, etc. So perhaps this is more of a feature request than a bug, then. Not sure. Depends on if skipping scene support was deliberate or simply a bug somewehere. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
No stale. It still be useful if implemented |
@gdgib and I recently shared some thoughts on this in #13937 (comment). |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Not stale |
@Koenkk: I think this issue can be closed (auto-closing with "fixes" mentions does not appear to work with |
I got scenes to show up in homeassistant by restarting the z2m addon. |
What happened?
What happens:
One switch is visible in Home Assistant through the MQTT-integration. The
switch.test_group_2
entity has two states,on
oroff
. Turning it on turns on all lights in the group to 100%, turning it off turns all lights in the group off.There are no traces of any scenes (all_on, all_off, all_50, etc.)
What did you expect to happen?
I expected that each of those 4 zigbee group (my_group) scenes (all_on, all_off, all_50, etc.) should correspond to 4
scene
entities in Home Assitant.I.e. (in Home Assitant) be able to do:
scene.turn_on
with something likescene.all_50
as argument. And then I would expect that scene to be recalled.Only having a switch for the entire group on/off is only usefull if you want to group e.g. wall socket plugs that are only on/off capable and should all have the same settings.
Scenes for lights include things like brightness and color temperature.
This is the way the deCONZ integration works with the Conbee 2 stick. All scenes created in that addon (i.e. the deCONZ addon) also creates a scene in Home Assistant.
Scenes created in the zigbee2mqtt addon (or a standalone installation, it does not matter) are nowhere to be seen in Hoem Assistant. Despite all discovery parameters are set and e.g. the switch was added automatically.
How to reproduce it (minimal and precise)
Step 6 will fail as there is not trace of my_scene in Home Assistant, but I expected it to exist.
Zigbee2MQTT version
1.32.1
Adapter firmware version
6.10.3.0 build 297
Adapter
SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2
Debug log
No response
The text was updated successfully, but these errors were encountered: