Facebook
From Baby Parakeet, 2 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 439
  1. type: custom:vertical-stack-in-card
  2. cards:
  3.   - type: picture-entity
  4.     entity: sensor.monthly_energy_cost
  5.     name: MONTHLY ENERGY COST
  6.     hold_action:
  7.       action: none
  8.     tap_action:
  9.       action: none
  10.     image: /local/img/burn.jpg
  11.   - type: glance
  12.     entities:
  13.       - entity: sensor.pzem_voltage
  14.         name: VOLTAGE
  15.         icon: mdi:alpha-v-circle
  16.       - entity: sensor.pzem_current
  17.         name: CURRENT
  18.         icon: mdi:alpha-a-circle
  19.       - entity: sensor.pzem_power
  20.         name: POWER
  21.         icon: mdi:alpha-p-circle
  22.     title: POWER USAGE
  23.   - entities:
  24.       - entity: sensor.daily_energy_cost
  25.     name: DAILY ENERGY COST
  26.     hours_to_show: 720
  27.     group_by: date
  28.     aggregate_func: last
  29.     icon: mdi:counter
  30.     show:
  31.       graph: bar
  32.       labels: true
  33.       labels_secondary: true
  34.     color_thresholds:
  35.       - value: 20
  36.         color: lime
  37.       - value: 51
  38.         color: yellow
  39.       - value: 100
  40.         color: red
  41.     type: custom:mini-graph-card
  42.   - entities:
  43.       - entity: sensor.daily_energy
  44.         color: red
  45.     name: DAILY ENERGY CONSUMPTION
  46.     hours_to_show: 720
  47.     group_by: date
  48.     aggregate_func: last
  49.     show:
  50.       labels: true
  51.       labels_secondary: true
  52.     type: custom:mini-graph-card
  53.