-
-
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
Configure what a Zigbee "heterogeneous" group "exposes" through Z2M #10120
Comments
@Koenkk maybe you can give a hint on where to start looking for this in the source code so I can maybe explore a bit deeper? |
It is possible to override the HA discovery payload from the |
Can the same be applied to groups though? I don’t want to necessarily hide the color-functionality of the devices themselves. For example: Device A is color-enabled while Device B is temperature-only. They are both members of group 1. I want group 1 to only expose temperature capabilities, and Device A to still expose its color capabilities. |
@Koenkk is it possible with |
I've tried using the
But I get this in Z2M's logs:
|
OK, now I've tried with the correct endpoint: |
Should also work for group, but make sure to use the correct structure, just |
@Koenkk The example shows only action-like customizations. How do I say what the group exposes? And if I don’t specify other attributes, I assume they stay default? |
In
They have no effect. While this setting:
disables the entity and makes it "orphan". Even stopping Z2M and deleting the group's |
I found that lists were not overridable yet, fixed this now. "4":
friendly_name: kitchen_lights
devices:
- XXXXXX/11
- XXXXXX/11
- XXXXXX/11
- XXXXXX/11
- XXXXXX/11
- XXXXXX/11
- XXXXXX/11
homeassistant:
light:
supported_color_modes: ["color_temp"] should do it |
@Koenkk should I be on the dev branch to use this? |
yes |
Alright. I think I’m gonna wait for a release, but I will update here once I try this regardless. Thanks so much for your great work! |
@Koenkk Very happy to update that this is now solved/supported in Z2M For HomeKit specifically, I had to "un-expose" the group and then re-expose it (remove it from yaml, restart HA, re-add it, restart HA) so it appeared with the correct (reduced) capabilities in HomeKit, otherwise HomeKit still thinks the group is color-enabled and you get "No response" when you try to choose any color option from the palette. |
Is your feature request related to a problem? Please describe
Yes.
Here's a scenario:
light.kitchen_lights_group
.Both from HA and from integrations like HomeKit, I am then allowed to set a hue/color for this group. What actually ends up happening is that only the 1 light that supports hue-saturation gets updated, and the other two are left alone. In HomeKit this becomes extra annoying since even when you choose a circle that looks like it's only going to update the color temperature, it actually sends a color update, which only applies to lights that support hue-saturation in the group.
Describe the solution you'd like
For some reason I have a feeling a solution for this already exists, but I've been Googling for a while now.
Essential my suggestion is: let me decide whether a group (or/especially a "heterogeneous" where different members expose different properties) can receive color state mutations (
xy
, etc...) or onlycolor_temp
ones.Then I could change the color temperature of my kitchen lights from HomeKit, and keep my marriage intact.
Describe alternatives you've considered
I'm not sure there are.
The text was updated successfully, but these errors were encountered: