Open
Description
Whenever the value of my boolean sensor changes from false to true the graph also changes the y-axis. So false is up and true is down.
type: custom:plotly-graph
entities:
- entity: sensor.vorlauf
line:
color: red - entity: sensor.rucklauf
line:
color: green - entity: sensor.heat_demand
name: Bedarf
fill: tozeroy
line:
color: lightblue
hours_to_show: 24
layout:
xaxis:
rangeselector:
"y": 1.2
buttons:
- count: 1
step: minute
- count: 1
step: hour
- count: 12
step: hour
- count: 1
step: day
- count: 7
step: day
refresh_interval: 10
title: Heizung
Do I need some more code in the yaml to manage this?
Regards
Patrik