thomasloven / lovelace-auto-entities

🔹Automatically populate the entities-list of lovelace cards
MIT License
1.24k stars 113 forks source link

FR: Add expand on nested groups (lights, switches etc) #268

Open Mariusthvdb opened 2 years ago

Mariusthvdb commented 2 years ago

now we have core expansion in nested groups (lights/switches/binary_thresholds etc) please consider adding support for that in auto-entities filter, with the group functionality:

        filter:
          include:
            - group: light.all_lights_only
              options:
                secondary_info: last-changed

however still only shows the first level of nesting

Schermafbeelding 2022-03-31 om 12 43 24

and takes no advantage of the possibility https://github.com/home-assistant/core/pull/68875 brings us.

we still need to do:

        filter:
          include:
            - group: group.main_inside_lights
              options:
                secondary_info: last-changed
            - group: group.outside_flood_lights
              options:
                secondary_info: last-changed
            - group: group.terrace_outdoors_spots
              options:
                secondary_info: last-changed
            - group: group.guest_inside_lights
              options:
                secondary_info: last-changed
            - group: group.plafond_spots
              options:
                secondary_info: last-changed

or with the now fully capable light groups replacements. of those 'old' groups

        filter:
          include:
            - group: light.main_inside_lights
              options:
                secondary_info: last-changed
            - group: light.outside_flood_lights
              options:
                secondary_info: last-changed
            - group: light.terrace_outdoors_spots
              options:
                secondary_info: last-changed
            - group: light.guest_inside_lights
              options:
                secondary_info: last-changed
            - group: light.plafond_spots
              options:
                secondary_info: last-changed

please consider adding this new functionality (both for regular nested groups, as the modern variants)? thanks!

jncanches commented 2 years ago

Using a "light." group is working for me in 2022.4 Groups are correctly expanded

Mariusthvdb commented 2 years ago

sure, but this FR is about nested groups.

jncanches commented 2 years ago

Oh yes, my bad. Indeed, nested groups does not work.

bcutter commented 1 year ago

So happy I'm neither the only nor the first one thinking bout this "feature".

More requests and information @ https://community.home-assistant.io/t/auto-entities-automatically-fill-cards-with-entities/147801/734.

StefanDorschu commented 1 year ago

So nested groups are not possible?