Advertisement
mikalmo

Apex chart med strømpris, timesforbruk og energy score.

Dec 9th, 2022 (edited)
1,402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.18 KB | Software | 0 0
  1. type: custom:apexcharts-card
  2. apex_config:
  3.   legend: false
  4.   chart:
  5.     height: 240px
  6. show:
  7.   loading: false
  8. experimental:
  9.   color_threshold: true
  10. header:
  11.   show: true
  12.   show_states: true
  13.   colorize_states: false
  14. chart_type: radialBar
  15. series:
  16.   - entity: sensor.electricity_price_adresse
  17.     name: Timespris, strøm
  18.     max: 1
  19.     show:
  20.       in_chart: true
  21.       header_color_threshold: true
  22.     color_threshold:
  23.       - value: 0
  24.         color: green
  25.       - value: 50
  26.         color: orange
  27.       - value: 70
  28.         color: orangered
  29.       - value: 90
  30.         color: red
  31.   - entity: sensor.ps_cap_hour_estimate
  32.     name: Timesestimat
  33.     show:
  34.       in_chart: true
  35.       header_color_threshold: true
  36.     max: 10
  37.     color_threshold:
  38.       - value: 0
  39.         color: green
  40.       - value: 50
  41.         color: orange
  42.       - value: 75
  43.         color: orangered
  44.       - value: 90
  45.         color: red
  46.   - entity: sensor.total_energy_score
  47.     name: Energyscore
  48.     show:
  49.       in_chart: true
  50.       header_color_threshold: true
  51.     color_threshold:
  52.       - value: 0
  53.         color: red
  54.       - value: 45
  55.         color: orange
  56.       - value: 55
  57.         color: green
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement