24 lines
780 B
YAML
Executable File
24 lines
780 B
YAML
Executable File
#- type: 'custom:button-card'
|
|
# template: card_title
|
|
# name: Batteries
|
|
|
|
|
|
- type: "horizontal-stack"
|
|
cards:
|
|
- type: 'custom:button-card'
|
|
template: card_battery
|
|
entity: sensor.pixel_6_battery_level
|
|
variables:
|
|
ulm_card_battery_charger_type_entity_id: sensor.pixel_6_battery_level
|
|
ulm_card_battery_battery_level_danger: 30
|
|
ulm_card_battery_battery_level_warning: 80
|
|
ulm_card_battery_name: Pixel
|
|
|
|
- type: 'custom:button-card'
|
|
template: card_battery
|
|
entity: sensor.ipad_battery_level
|
|
variables:
|
|
ulm_card_battery_charger_type_entity_id: sensor.ipad_battery_level
|
|
ulm_card_battery_battery_level_danger: 30
|
|
ulm_card_battery_battery_level_warning: 80
|
|
ulm_card_battery_name: iPad |