This is a snippet of my groups.yaml file. My goal is to have a tab named weather with a card inside called weather with all 5 components and a card on the default page with just the temperature component on it. I can do everything except the components on the second page are badges. How do I get them to show up on a card? Any help is appreciated.
default_view:
Weather:
entities:
- sensor.dark_sky_temperature
Weather:
name: Weather
entities:
- sensor.dark_sky_temperature
- sensor.dark_sky_apparent_temperature
- sensor.dark_sky_humidity
- sensor.dark_sky_nearest_storm_distance
- sensor.dark_sky_summary
You’ll need to add the weather group you just created too the weather group just add "- group.weather"at the bottom of your weather group.
So I add all 5 components then the group too?
Yep I just add mine at the bottom.
Thank you.
default_view:
name: Weather
entities:
- sensor.dark_sky_temperature
Weather:
name: Weather
view: yes
entities:
- sensor.dark_sky_temperature
- sensor.dark_sky_apparent_temperature
- sensor.dark_sky_humidity
- sensor.dark_sky_nearest_storm_distance
- sensor.dark_sky_summary
- group.weather
same result . no card. all badges.
’
Sorry you need to put all the sensors into a group called weather then add that group to the default_view. here is mine.
Weather:
name: Weather
icon: mdi:weather-sunny
view: yes
entities:
- sensor.dark_sky_summary
- sensor.dark_sky_cloud_coverage
- sensor.dark_sky_precip_probability
- sensor.dark_sky_temperature
- sensor.dark_sky_humidity
- sun.sun
- group.weather
Mine is displayed as another tab but if you add this to your default_view it will appear in a tile.