elradix

graph daily usage

Jul 22nd, 2021
1,027
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. type: custom:apexcharts-card
  2. graph_span: 7d
  3. update_interval: 5m
  4. cache: true
  5. span:
  6.   end: day
  7.   offset: '-1sec'
  8. header:
  9.   show: true
  10.   title: Energie verbruik per dag
  11. apex_config:
  12.   xaxis:
  13.     labels:
  14.       format: dd-MM
  15.       show: false
  16.       showAlways: false
  17.   yaxis:
  18.     forceNiceScale: false
  19.     decimalsInFloat: 0
  20.     min: 0
  21.   chart:
  22.     type: area
  23.     height: 250
  24.   stroke:
  25.     show: true
  26.     width: 1
  27.   legend:
  28.     show: true
  29.   dataLabels:
  30.     enabled: false
  31.     distributed: true
  32.   fill:
  33.     type: gradient
  34.     gradient:
  35.       shadeIntensity: 0.1
  36.       opacityFrom: 0.25
  37.       opacityTo: 1
  38.       inverseColors: true
  39.       stops:
  40.        - 0
  41.         - 90
  42.         - 100
  43. series:
  44.   - entity: sensor.energy_import_total_dagelijks_kwh
  45.     type: column
  46.     name: Afname
  47.     float_precision: 2
  48.     group_by:
  49.       func: max
  50.       duration: 23h59m59s
  51.   - entity: sensor.daily_injection
  52.     name: Injectie
  53.     type: column
  54.     float_precision: 2
  55.     group_by:
  56.       func: max
  57.       duration: 23h59m59s
  58.   - entity: sensor.pv_solaredge_energy_today
  59.     name: Productie
  60.     type: column
  61.     float_precision: 2
  62.     group_by:
  63.       func: max
  64.       duration: 23h59m59s
  65.  
RAW Paste Data