Re-map value using state_map #1203
Unanswered
bojanpotocnik
asked this question in
Q&A
Replies: 1 comment
-
We have obviously only one secondary Y-axis. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to display temperatures on primary axis, and "loads" on the secondary axis.
I would like to display the actual wood boiler load in %, so I set the secondary axis range to 0-100. I would also like to display states of multiple pumps on that axis, which are effectively only 0 or 100%. I have read the description of the
state_map
about positions being values on the graph, but this means that while it remaps the states, it still plots the old, not remapped states? Can I trick thestate_map
to remap the states before plotting them?There is one way to do it... which seems absurd

I sense that creating a new template sensor would be a solution, but that seems a bit excessive, and I would need many template sensors 😬
Beta Was this translation helpful? Give feedback.
All reactions