Advertisement
RichardHA

Apex-chart demo code

May 5th, 2022
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.73 KB | None | 0 0
  1. type: custom:apexcharts-card
  2. experimental:
  3.   color_threshold: true
  4.   brush: true
  5. graph_span: 12h
  6. span:
  7.   start: day
  8. brush:
  9.   selection_span: 10min
  10. header:
  11.   show: true
  12.   title: ruimtetemperatuur
  13.   show_states: true
  14.   colorize_states: true
  15. series:
  16.   - entity: sensor.otgw_room_temperature
  17.     yaxis_id: first
  18.     name: vandaag
  19.     color: rgb(230.230.230)
  20.     show:
  21.       extremas: true
  22.     stroke_width: 1
  23.     type: area
  24.     extend_to: now
  25.     color_threshold:
  26.       - value: 20
  27.         color: purple
  28.       - value: 21
  29.         color: e07614
  30.       - value: 25
  31.         color: edb900
  32.   - entity: sensor.otgw_room_temperature
  33.     yaxis_id: first
  34.     name: gisteren
  35.     offset: '-1d'
  36.     stroke_width: 2
  37.     color: orange
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement