Propose creating a separate tag to define views

I am a newbie still trying to configure things. As I currently understand it, a group is a display container that has a set of entities, which might include other groups. If a group has a view attribute associated with it, it will have its own tag along the top of the app.

In my mind, a group is a display container that may contain other display containers. Views are a superset of a group that can not be contained by other views or groups.

It seems that the configuration would be easier to understand if there was a separate view tag to denote the distinction between views and groups. This might also benefit mobile apps such as the iOS version of Home Assistant.

This would look something like:

view:
    default:
        entities:
            - group.outside_lights
            - group.bedroom_lights
            - group.environmental

    lights:
        name: Lights
        entities:
            - group.outside_lights
            - group.bedroom_lights
            - group.shop_lights

    party_central:
        name: Party Central
        entities:
            - scene.mellow
            - device.disco_ball
            - device.music


group:
    outside_lights:
        - entities:
            - group.house_lights
            - group.landscape_lights

    house_lights:
        - entities:
            - light.ouside_light_1_1

    landscape_lights:
        - entities:
            - light.ouside_light_1_2
            - light.ouside_light_1_3
1 Like