Skip to content

Problems writing #77

Answered by kodebach
KVS62 asked this question in Q&A
Jan 22, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Not sure, what you wanted to achieve with the condition. I'm not a heavy user of the templating in Home Assistant, so I may be wrong here, but: is_state(A, B) seems to check whether the state of sensor A is the value B. So in your case it compares against the literal value sensor.idm_heat_pump_aktueller_pv_uberschuss. I don't think that is what you wanted.

If this is just an attempt at limiting the number of values sent to the heat pump, then I don't think that's necessary. The "PV-Überschuss" value isn't stored persistently, so AFAIK there is no limit on how often you can write it.

If you still want the condition, using the Automation UI I get (states in the second argument makes Home As…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@KVS62
Comment options

@kodebach
Comment options

Answer selected by KVS62
@KVS62
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants