Custom Template "Battery Info"¶
Credits¶
- Full credit to user basbruss, who created the design and base of it in his person card
Changelog¶
1.0.0
Initial releaseDescription¶
This is an template to add the battery level to every ui minimalist card
Variables¶
Variable | Default | Required | Notes |
---|---|---|---|
ulm_battery_entity | No | The entity to represent the battery_level |
Usage with battery or battery_level attribute from entity¶
- type: 'custom:button-card'
template:
- card_binary_sensor
- battery_info
entity: binary_sensor.badezimmer_tuer_contact
variables:
ulm_show_last_changed: false
Usage with variable ulm_battery_entity¶
- type: 'custom:button-card'
template:
- card_binary_sensor
- battery_info
entity: binary_sensor.badezimmer_tuer_contact
variables:
ulm_show_last_changed: false
ulm_battery_entity: sensor.badezimmer_tuer_battery_level