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/overview/energy.yaml
darthsandmann 78259b2dc4 Updates
2022-08-02 18:57:48 +02:00

34 lines
796 B
YAML

#- type: 'custom:button-card'
# template: card_title
# name: Energy
- type: custom:apexcharts-card
graph_span: 12h
header:
show: false
series:
- entity: sensor.desk_current_consumption
name: Consumption
curve: smooth
type: line
group_by:
duration: 10min
func: avg
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic
entity: sensor.desk_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.desk_total_consumption
variables:
ulm_card_generic_name: Total
ulm_card_generic_icon: "mdi:home-lightning-bolt"