Grouping entities with group or area.
See original GitHub issueHi,
Thanks a lot for your job, it’s really impressive 😃
It could be a good idear to group entities with group or area (today, le HUE intégration create an area with all lights in philips HUE group).
sensor:
- platform: powercalc
create_group: All hallway lights
target :
group: group.allway_lights
or
sensor:
- platform: powercalc
create_group: All hallway lights
target :
area: Hallway lights
In my case, I already group my room’s lights with HA group integration. I’m fully use Philips HUE light.
Thanks for your time. Juicy
Issue Analytics
- State:
- Created 2 years ago
- Comments:21 (12 by maintainers)
Top Results From Across the Web
Areas vs Groups or how to organize and structure?
A group can group anything. Areas can group anything too. That's not quite correct, you can group anything. But areas will only accept...
Read more >Grouping Entities - SketchUp Help
In LayOut, groups are a way to keep related elements organized in the drawing area. Groups can also make selecting and copying multiple...
Read more >Grouping Entities Quickly - 2019 - DraftSight Help
To group entities quickly: In the graphics area, specify the entities to group. Right-click, then click Entity Group > Quick Group (or type...
Read more >Group
The first entity processed from the group takes any resources the group owns. Entities in a group can be grouped into a larger...
Read more >How to group different entities, groups and sub-groups having ...
I am facing a hard time having design decision for below case. I am creating wireframe for a patient app. The platform is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have good news. Managed to add support for groups and light groups for the include functionality. Has been merged into master. Will be in release v0.14
Thanks for testing!
I have added support to also specify an area name, not only an ID. So this error should be resolved now.
I have changed the code to only consider lights.
This is not something I can fix. Because the Hue integration was not loaded correctly (or in time), powercalc has no way to know the manufacturer / model for the given entities. So ultimately no entities from the area could be discovered, and the area can therefore not be setup (because there are no entities). So you need to have a look into your issues with the Hue API. Maybe it’s network related? Reset the bridge? etc.
Fixed
Fixed