I have successfully have HA turning on/off my pool and hot tub. I am now trying to use an input_number slider to set the hot tub temperature. The rest command to do so is:
So I have the following set up in HA:
rest_command:
spa_temperataure:
url: 'http://192.168.2.164:3000/spaheat/setpoint/{{ (states.input_number.slider1.state | int) }}'
and an automation:
- alias: 'Set SPA Temperature'
trigger:
- platform: state
entity_id: input_number.slider1
action:
service: rest_command.spa_temperature
But it doesn’t seem to set the temperature. If I execute directly into my browser it works great. Do I have the automation set up wrong?
Thanks