type: custom:vertical-stack-in-card
cards:
- type: picture-entity
entity: sensor.monthly_energy_cost
name: MONTHLY ENERGY COST
hold_action:
action: none
tap_action:
action: none
image: /local/img/burn.jpg
- type: glance
entities:
- entity: sensor.pzem_voltage
name: VOLTAGE
icon: mdi:alpha-v-circle
- entity: sensor.pzem_current
name: CURRENT
icon: mdi:alpha-a-circle
- entity: sensor.pzem_power
name: POWER
icon: mdi:alpha-p-circle
title: POWER USAGE
- entities:
- entity: sensor.daily_energy_cost
name: DAILY ENERGY COST
hours_to_show: 720
group_by: date
aggregate_func: last
icon: mdi:counter
show:
graph: bar
labels: true
labels_secondary: true
color_thresholds:
- value: 20
color: lime
- value: 51
color: yellow
- value: 100
color: red
type: custom:mini-graph-card
- entities:
- entity: sensor.daily_energy
color: red
name: DAILY ENERGY CONSUMPTION
hours_to_show: 720
group_by: date
aggregate_func: last
show:
labels: true
labels_secondary: true
type: custom:mini-graph-card
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}