Custom-chip "Update"¶
Information¶
Chip that shows you if an update for Home Assistant is available.
Changelog¶
1.0.0
Initial releaseUsage¶
- type: custom:button-card
template: chip_update
entity: group.updates
variables:
ulm_chip_update_path: '/ui-lovelace-minimalist/system'
Variables¶
Variable | Example | Required | Explanation |
---|---|---|---|
entity | group.updates | yes | update entity |
ulm_chip_update_path | /ui-lovelace-minimalist/system | yes | path to navigate |
Template code¶
---
### Chip Update ###
chip_update:
template:
- "ulm_language_variables"
- "chips"
tap_action:
action: navigate
navigation_path: "[[[ return variables.ulm_chip_update_path; ]]]"
haptic: light
show_icon: true
state:
- operator: default
color: red
icon: mdi:shield-alert
label: "[[[ return variables.ulm_updates_available ]]]"
- value: 'off'
color: green
icon: mdi:shield-check
label: "[[[ return variables.ulm_no_updates_available ]]]"
styles:
grid:
- grid-template-areas: "'i l'"
Requirements¶
If you don't have an update sensor follow that instruction to create one.
Credits¶
- Author: JeffConrad18 - 2022
- Version: 1.0