question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nested groups with include area not working

See original GitHub issue

There seems to be a problem with creating nested groups using include area, the following does not create any sensors what so ever:

- platform: powercalc
  create_group: outdoor lights
  entities:
    - create_group: outdoor parking driveway
      include:
        area: parkering_och_uppfart
    - create_group: outdoor ambience
      include:
        area: dekoration_ute

while this does:

- platform: powercalc
  entities:
    - entity_id: light.parking_1

light.parking_1 is in the ‘parkering_and_uppfart’ area, as well as a few other lights of the same model

root@homeassistant:~# hass-cli device list| egrep 'AREA|parkering_och_uppfart'
ID                                NAME                            MODEL                            MANUFACTURER                      AREA
362c7465816d778def1a513c35a884af  parking_1                       TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
8ce5a9bef647894ce65fa27f0f3e46f3  parking_2                       TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
363bcd189cef3277ff236426aa20e86b  parking_3                       TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
root@homeassistant:~#

List of entities:

root@homeassistant:~# hass-cli entity list | egrep "ENTITY_ID|(light|sensor).parking_"
ENTITY_ID                                           NAME                                        DEVICE_ID                         PLATFORM             CONFIG_ENTRY_ID                   DISABLED_BY
light.parking_1                                     None                                        362c7465816d778def1a513c35a884af  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.parking_2                                     None                                        8ce5a9bef647894ce65fa27f0f3e46f3  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.parking_3                                     None                                        363bcd189cef3277ff236426aa20e86b  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
sensor.parking_1_power                              None                                        362c7465816d778def1a513c35a884af  powercalc            None                              None
sensor.parking_1_energy                             None                                        362c7465816d778def1a513c35a884af  powercalc            None                              None
root@homeassistant:~#

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
gribbercommented, Jul 3, 2022

Yep! That solved the problem, great work!

1reaction
bramstrokercommented, Jul 1, 2022

Thanks for providing the additional information, very useful. Will see if I can reproduce with this new findings. I am afk for a bit, so will probably be sunday I can have a look.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AD Nested Groups not always receiving permissions - TechNet
if permissions are done on the folder, open the property page on the folder, go to the security tab, click advanced, effective permissions...
Read more >
Active Directory nested groups not working as expected
Hi. The handling of nested groups in the Active Directory connector is not how I would have expected it. Take the following scenario:....
Read more >
Nested Computergroups not working - Forum - Quest Software
When I try to deploy software to users based on membership of a Computergroup this only works when the PC is a direct...
Read more >
692090 – SSSD is not populating nested groups in Active ...
I create domain local group in AD domainlocalgroup 2. Add NIS Domain and GID on UNIX Attributes tab in Active Directory Users and...
Read more >
Nested groups does not work (include and exclude mode)
With an excluded nested group : the machines are not excluded. It worked fine before with patch for server version. Expand Post.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found