Hello,
I have sensor which holds a temperature. In the dashboard I vreated a input_number with a slider. I want to write the actual value from the slider to the sensor value.
this is what I have now. But this doesn’t work.
alias: Set temperature to sensor
description: ""
triggers:
- trigger: state
entity_id:
- input_number.temp_input
conditions: []
actions:
- data:
value: "{{ states('input_number.temp_input') }}"
target:
entity_id: sensor.temp_holder
action: number.set_value
mode: single
Any ideas? - thx in advance!