Skip to content

Instantly share code, notes, and snippets.

@dale3h
Created July 23, 2018 22:32
Show Gist options
  • Save dale3h/37b34aebb0c336ffd5fb877c2651097a to your computer and use it in GitHub Desktop.
Save dale3h/37b34aebb0c336ffd5fb877c2651097a to your computer and use it in GitHub Desktop.
[Lovelace] Create a header by using `panel: true` with nested stack cards
title: Home
views:
- title: Header
icon: mdi:car
panel: true
cards:
- type: vertical-stack
cards:
- type: glance
entities:
- sun.sun
- sensor.season
- sensor.dark_sky_cloud_coverage
- sensor.dark_sky_humidity
- sensor.dark_sky_precip_probability
- sensor.dark_sky_temperature
- sensor.yr_cloudiness
- sensor.yr_humidity
- sensor.yr_precipitation
- sensor.yr_temperature
- type: horizontal-stack
cards:
- type: vertical-stack
cards:
- type: entities
title: Column 1
entities:
- sensor.date
- sensor.time
- sensor.startup_time
- sensor.uptime
- type: vertical-stack
cards:
- type: entities
title: Column 2
entities:
- sensor.current_version
- sensor.github_version
- sensor.pypi_version
- type: vertical-stack
cards:
- type: entities
title: Column 3
show_header_toggle: false
entities:
- script.manual_config_backup
- script.reload_config
- script.update_hass
- script.restart_hass
@RichardUUU
Copy link

Seems like this is not working in the raw config editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment