Change temp (input_number) in a automation

I do have a input_number.eco_temperature which should reflect a temp I wanna have in my house.
I do have MAX! installed and working on a automation to get it controlled so when I change the temp the temp got pushed to the MAX. My automation looks like:

action:
#   Buero Wandthermostat
   - service: CLIMATE.SET_OPERATION_MODE
     data:
        entity_id: climate.buro_wandthermostat
        operation_mode: manual
   - service: CLIMATE.SET_temperature
     data:
        entity_id: climate.buro_wandthermostat
        temperature: '{{ states.input_number.eco_temperatur.state}}'

But this sucks !!! Can anybody help me?

If the service data is a template, you should use data_template.
Not sure if the UPPER Case in your service calls make problems, user lowercase.

   - service: climate.set_temperature
     data_template:
        entity_id: climate.buro_wandthermostat
        temperature: '{{ states.input_number.eco_temperatur.state}}'
1 Like

I have a similar issue, I want an automation that when an input_slider (volume of AVR) CHANGE then the volume changes

How to make the trigger?

Is the below action correct?

   - service: media_player.volume_set
     data_template:
        entity_id: media_player.yamaha_receiver
        temperature: '{{ states.input_number.yamaha_volume.state}}'

Use the state trigger with the input_number as entity_id, so it triggers on every state change.

If you look in Dev Tools/Services and select media_player.volume_set, you see the parameter for the service call.
Auswahl_068
Or has your receiver a temperatur setting? :slight_smile:

I would first try it with data and fixed values.
If that works use the data_template and the input_number.