Beginners Question: How to use items from default view in custom view

Hi all,

I just spent a few hours with HA so please be kind :slight_smile:

I am trying to build a view which includes some auto created groups from the default view like the climate group for example.
It seems that I have to rebuild the sensors from my thermostats if I would like to group them by myself and use them in a custom view?
If there is anyone out with homematic thermostats who could shade some light on me, this would be great!

thanks
Kai

Hi,

You can add group entities to another group.
Here’s an example I use:

climate_view:
  view: yes
  icon: mdi:weather-windy
  entities:
    - group.netatmo_buiten
    - group.netatmo_woonkamer
    - group.netatmo_slaapkamer
    - group.netatmo_windmeter
    - group.netatmo_regenmeter
    - climate.toon_van_eneco
    - group.sensor_temperatures

If you press the <> sign under Developer tools at the left side of your HA screen, you can see the entity names of your groups.

Thanks @Slinkos,

this looks somehow the way I want it, but now it is in an extra view…

Any possibility to get this as a card in a custom view?

Thanks
Kai

Not sure what you mean. The “climate_view:” group I posted is a custom view.

Ok Sorry, I have a custom view and I would like to get the climate card as a part of my new composed view.
trying to add “climate_view” to the entities of my default_view is not working:

default_view:
  name: Ăśbersicht
  view: yes
  entities:
    - sun.sun
    - group.Bewohner
    - view.climate_view

If I do it like this the view is not displayed…

Thanks
Kai

If I am understanding your question, try
view: no

“no” makes this group a panel (card), “yes” makes it a separate view.
It’s hard to break Home Assistant by experimenting with the configuration.yaml file, so try changing things and see what happens.

EXCEPT- Don’t restart Home Assistant without verifying the configuration.yaml is OK. (Configuration, General, Check-config).

“climate_view” was just a name I gave to my group. It’s not what you should add. If you look at your entities you must see the name of the group you would like to add. It should start with “group.”

Thanks :slight_smile:
I got it working!

1 Like