"Invalid config" error when using nested groups
See original GitHub issueWhen I attempt to configure powercalc with nested groups, I get an “Invalid config” error. The readme says “Each entry under entities
can use the same configuration as when defined directly under sensor
”, so this seems like a bug. Here is the error:
2022-01-03 21:46:44 ERROR (MainThread) [homeassistant.config] Invalid config for [sensor.powercalc]: [create_group] is an invalid option for [sensor.powercalc]. Check: sensor.powercalc->entities->0->create_group. (See /config/configuration.yaml, line 498). Please check the docs at https://github.com/bramstroker/homeassistant-powercalc
Here’s an example of the type of config I am trying to use:
sensor:
- platform: powercalc
create_group: Total
entities:
- create_group: All Lights
entities:
- entity_id: light.living_room
- entity_id: light.kitchen
- entity_id: light.hallway
- entity_id: switch.tv
- entity_id: switch.pc
- entity_id: switch.freezer
This would create two groups: one that contains only the lights, and another that contains the lights as well as the other devices.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Nested groups - Configuration - Home Assistant Community
I get this message: Invalid config for [group]: Entity ID group.working.room.lights is an invalid entity ID for dictionary value @ data['group'][ ...
Read more >Current handling of groups leaves room for user error/confusion
We can configure sibling groups. Yabeda.configure do group :g1 # config group :g2 # config end. or attempt to have nested groups.
Read more >LDAP Nested Groups Fail Due to BaseDN and FQDN mismatch
Nested Group Memberships are not reflected in Confluence, despite using the correct configuration, and having it properly setup in LDAP.
Read more >LDAP/AD nested groups problem - Grafana Community
The error says that the configured ldap groups cannot be found. Please use ldapsearch tool or similar to verify what information you get...
Read more >Technical Tip: LDAP Nested Group settings and chan...
Description This article describes how to modify the LDAP Nested group settings. In order to authenticate user via LDAP while the user 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
Release in v0.15.0-beta.2
This is not a bug because nesting has never been implemented.
I agree this would be a nice addition though. Not sure about the feasibility yet, need to have a look into that.