Hello!
I’m trying to get Home Assistant up and working. At the moment I’ve got a problem with the temperature.
I try to set the desired temperature with an Input_Slider like this:
Input_Slider
input_slider:
therm_setpoint:
name: Temperature
initial: 21
min: 14
max: 30
step: 1
The Input_Slider itself works fine. But when I try to use it in an automation, it won’t let me read the variable (temperature, which is set at the moment):
Automation
- alias: Schalte Heizung (außer Wohnzimmer) herauf, wenn jemand da
trigger:
platform: state
entity_id: device_tracker.38d547313a96
state: ‘home’
action:- service: climate.set_temperature
data:
entity_id: climate.leq1202331
temperature: 21 - service: climate.set_temperature
data:
entity_id: climate.meq0054331
temperature: ‘{{ states.input_slider.therm_setpoint.state | int }}’
- service: climate.set_temperature
The first part of the automation works fine (with the constant 21 degree), but it won’t use the Input_Slider to set the desired temperature. What am I doing wrong?
Thanks for help…
Greets!
Dave