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-29 03:05:27 +02:00

24 lines
776 B
YAML

- type: 'custom:button-card'
template: card_title
name: Batteries
- type: "horizontal-stack"
cards:
- 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
- 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