This repository has been archived on 2023-06-10. You can view files and clone it, but cannot push or open issues or pull requests.
homeassistant-config/lovelace/batteries.yaml
2022-07-30 13:40:36 +02:00

30 lines
906 B
YAML

- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_title
name: Batteries
- type: "horizontal-stack"
cards:
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_battery
entity: sensor.iphone_battery_level
variables:
ulm_card_battery_charger_type_entity_id: sensor.iphone_battery_level
ulm_card_battery_battery_level_danger: 30
ulm_card_battery_battery_level_warning: 80
ulm_card_battery_name: iPhone
- view_layout:
grid-area: "card1"
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