31 lines
881 B
YAML
31 lines
881 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" |