From 0a658b7a2a3c6ed329e082b81e363d143dc8cc9d Mon Sep 17 00:00:00 2001 From: Jean-Marc Collin Date: Wed, 20 Nov 2024 10:38:32 +0100 Subject: [PATCH] Add on_percent into Plotly graph --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 29693c9..516c802 100644 --- a/README.md +++ b/README.md @@ -1279,9 +1279,13 @@ Replace values in [[ ]] by yours. yaxis: y1 name: Ema - entity: '[[climate]]' - attribute: regulated_target_temperature - yaxis: y1 - name: Regulated T° + attribute: on_percent + yaxis: y2 + name: Power percent + fill: tozeroy + fillcolor: rgba(200, 10, 10, 0.3) + line: + color: rgba(200, 10, 10, 0.9) - entity: '[[slope]]' name: Slope fill: tozeroy @@ -1306,12 +1310,19 @@ Replace values in [[ ]] by yours. yaxis: visible: true position: 0 + yaxis2: + visible: true + position: 0 + fixedrange: true + range: + - 0 + - 1 yaxis9: visible: true fixedrange: false range: - - -0.5 - - 0.5 + - -2 + - 2 position: 1 xaxis: rangeselector: