Hi, I’m trying to increment an input_number using an automation, I’ve looked at the docs here:
And I can’t find any ways of doing this, had anyone managed to pull this off?
Basically, automation triggered - input_number goes from 4 to 5 for example
Hi, I’m trying to increment an input_number using an automation, I’ve looked at the docs here:
And I can’t find any ways of doing this, had anyone managed to pull this off?
Basically, automation triggered - input_number goes from 4 to 5 for example
action:
service: input_number.set_value
data_template:
entity_id: input_number.entityID
value: '{{ (states.input_number.entityID.state | int ) + 1 }}'
Thanks that worked perfectly 