Header card for showing an title and back button at the top.
Thanks for the basic desing from @dmatik Source
- Basic Card form @dmatik
- Add aditional button to the right
- Theme intergration
- Option to remove background
- better variables
- more customization options in the future
The options button always navigates to the Setting's of HomeAssistant.
Variable | Default | Required | Notes |
---|---|---|---|
header_title | no | Text show in the center of the bar | |
header_navigate_path | no | Path of the left button | |
header_back_button | true | no | Visability of the left button |
header_options_button | true | no | Visability of the right button |
header_background | true | no | When false removes the background |
- type: 'custom:button-card'
template: tcc_header
variables:
header_title: "Home"
header_back_button: false