62 lines
1.6 KiB
YAML
Executable File
62 lines
1.6 KiB
YAML
Executable File
#- 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"
|
|
|
|
- type: "horizontal-stack"
|
|
cards:
|
|
- type: 'custom:button-card'
|
|
template: card_generic
|
|
entity: sensor.kai_monitor_power
|
|
variables:
|
|
ulm_card_generic_name: Current
|
|
ulm_card_generic_icon: "mdi:home-lightning-bolt"
|
|
- type: 'custom:button-card'
|
|
template: card_generic
|
|
entity: switch.kai_monitor
|
|
variables:
|
|
ulm_card_generic_name: Current
|
|
ulm_card_generic_icon: "mdi:home-lightning-bolt"
|
|
- type: 'custom:button-card'
|
|
template: card_generic
|
|
entity: sensor.kai_wifi_power
|
|
variables:
|
|
ulm_card_generic_name: Current
|
|
ulm_card_generic_icon: "mdi:home-lightning-bolt"
|
|
|
|
- type: 'custom:button-card'
|
|
template: card_generic
|
|
entity: sensor.kai_anlage_power
|
|
variables:
|
|
ulm_card_generic_name: Current
|
|
ulm_card_generic_icon: "mdi:home-lightning-bolt" |