-
Notifications
You must be signed in to change notification settings - Fork 41
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
Light or cover groups not found #94
Comments
hello, there is no support for these groups yet. I was wondering; how would you expect these groups to appear in Home Assistant? As a single light or single cover? |
Sorry for the late response. For lights I would suggest a similar approach as the deCONZ add-on provides. There, light-groups appear as a singe light which handles all lights in this group similarly. Thus, if you turn on the group, all lights in this group are turned on. Or if you change the brightness of the group, all lights in the group get the same brightness. Covers could work the same way. |
Why not use the group functionality that home assistant already has... that’s the way to go. |
I would like to see the groups for lights and covers as well.
One difference is the delay. If I define a group in HA, the free@home AP is called (at least) once for each device. If the group is addressed, this is done within ~ one call. |
I looked more into the groups. It seems that groups are defined like this in the backup: Cover group: Light group: That means that here in this file https://github.com/jheling/freeathome/blob/master/custom_components/freeathome/fah/pfreeathome.py#L371 , the Further more, it seems that they "feel" like a single light or cover. Would it be an idea to just add them as a single light or cover for a first try? |
I've done a first implementation for light and dimmer groups in #159, feel free to try the code there and let me know if it works. Light groups are exported as single lights. |
I will check it out asap and give you feedback. |
I tested your branch with a light group (binary, not a dimmer) and it worked smoothly. Reloading the integration automatically detected the light groups and I was able to switch them on and off. The delay is not any different than with the free@home app. I also tested dimming light groups and those work, too. Great work! Looking forward for the integration! |
Thank you for merging this. It is not completely resolved as cover groups are not included yet. |
Right, reopened until this is fixed |
Hi @Tho85 ! |
I cannot find the light or cover groups in Home Assistant which are created in Bush Jaeger. This feature is not stated in the discription but it would be cool to get clearification whether it's really not working or I missed some sort of configuration.
Thank you in advance!
The text was updated successfully, but these errors were encountered: