What is it what im doing wrong? tried editing the configruation.yaml file and the groups.yaml file…
No matter what i do i cant get the groups and views working or showing up at all???
here something i tried in the groups.yaml file
default_view:
view: yes
icon: mdi:home
entities:
- group.all_lights
- group.all_devices
meter_readings:
name: Stroom
view: yes
icon: mdi:flash
entities:
- sensor.power_consumption_low
- sensor.power_consumption_normal
- sensor.power_production_low
- sensor.power_production_normal
- sensor.gas_consumption
default_view:
view: yes
icon: mdi:home
entities:
- group.all_lights <-------------- These won't show up unless un-hidden in customize
- group.all_devices <--------------
meter_readings:
name: Stroom
view: yes <---------------- will make the card/badges show up in a tab'ed view
icon: mdi:flash
entities:
- sensor.power_consumption_low
- sensor.power_consumption_normal
- sensor.power_production_low
- sensor.power_production_normal
- sensor.gas_consumption
Note the way it’s formatted, it’s very important, everything under a name (default_view, meter_readings) is what’s called nested and is indented by 2 (two) spaces. Under entities you will notice they are indented by a further 2 (two) spaces because they are considered a list since they begin with - (dash).
Now about the default view :- from the docs…
By default, every group appears in the HOME tab. If you create a group default_view it will REPLACE the contents of the HOME tab so you can customize the HOME tab as you wish.
This means nothing will show up in the home tab unless you specify it in the groups.
So given that you are defining a default view with nothing in it (the group.all_* will not show up without first customizing them), you will get a blank home tab.
You should however (if it’s formatted correctly) get a tab with the sensors in it
Thanks for your reply i only have 2 groups and these are made automatic the group.all_devices and the group.all_lights
trying to make new groups for dsmr slimme meter. i read the page you are referring to but cant get the grip on it
Oh no sorry feel so dump right now! But hey thanks i now understand it
Only thing i wonder is how i can get the new groups to fill up with other then the icons above?
humm… well i would think here you ALSO have to ADD these entities to a “group” and then add this “group” to the view you have created… then they will be in a “card” within your tab
so first - create a group with these “entities” in them
then create a VIEW with this “group” as an entity