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/energy.yaml
2022-07-29 03:05:27 +02:00

31 lines
878 B
YAML

- type: 'custom:button-card'
template: card_title
name: Energy
- type: 'custom:button-card'
template: card_graph
entity: sensor.schreibtisch_current_consumption
variables:
ulm_card_graph_color: "var(--google-green)"
ulm_card_graph_name: Desk
ulm_card_graph_entity: sensor.schreibtisch_current_consumption
ulm_card_graph_type: fill
ulm_card_graph_hours: 12
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic
entity: sensor.schreibtisch_today_s_consumption
variables:
ulm_card_generic_name: Today
ulm_card_generic_icon: "mdi:home-lightning-bolt"
- type: 'custom:button-card'
template: card_generic
entity: sensor.schreibtisch_total_consumption
variables:
ulm_card_generic_name: Total
ulm_card_generic_icon: "mdi:home-lightning-bolt"