39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
- view_layout:
|
|
grid-area: "card1"
|
|
type: 'custom:button-card'
|
|
template: card_title
|
|
name: Energy
|
|
|
|
|
|
- view_layout:
|
|
grid-area: "card1"
|
|
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:
|
|
- view_layout:
|
|
grid-area: "card1"
|
|
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"
|
|
|
|
- view_layout:
|
|
grid-area: "card1"
|
|
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" |