Hello,
currently I use the static price for GAS in Energy dashboard.
Is there any way, how to get this value from HA and use it for additional calculation in templates?
For ex. I have this template
value_template: "{{ ((states('counter.counter_plyn_pulses') | float / 100 - 3695) * 29.66) | round(2) }}"
and I would like to replace the value 29.66 with the value which set in Energy dashboard.