climate.set_temperature only works if both values are set
bkbartk opened this issue · 2 comments
bkbartk commented
I want to run an automation to automatically set the target_temp_low
data:
target_temp_low: 18
target:
entity_id: climate.thermostaat_woonkamer_voor
action: climate.set_temperature
but this always fails if I don't add the target_temp_high
as well. I my case this is not ideal,
Is there a way work around this?
swingerman commented
I double-checked this, but HA seems to require this, and I don't think I can do anything about it.
bkbartk commented
thnx, I thought it was related to a setting being required in the integration,
I guess I can work around like this
data:
target_temp_low: 8
target_temp_high: "{{ state_attr('climate.thermostaat_woonkamer_voor', 'target_temp_high') | float }}"
target:
entity_id: climate.thermostaat_woonkamer_voor
action: climate.set_temperature
Will try to implement this later