Hello everyone. I hope I’m in the right place. I’m new here and have limited knowledge of programming, so I need your help.
I have the following problem:
This code is accepted and actually executed.
action:
- device_id: 2e0d0d3d71e2d685c29d4f2865dbe1d3
domain: number
entity_id: 6a06044cb75469ef124114ef0216b794
type: set_value
value: 14
This code is accepted as executed indicated in Home Assistant, but the state of the entity does not change.
- service: input_number.set_value
data_template:
entity_id: number.balkon_limit_nonpersistent_absolute
value: 14
entity_id: 6a06044cb75469ef124114ef0216b794 = entity_id: number.balkon_limit_nonpersistent_absolute. One is self-written, the other generated by Home Assistant. Why is that so? By the way, if I switch the entities from entity_id: 6a06044cb75469ef124114ef0216b794 to entity_id: number.balkon_limit_nonpersistent_absolute, neither one nor the other works
The value 14 should be replaced by a variable. And as far as I know, that wouldn’t work in the first example, right?
Thats why i need the second solution or something like that.
Thank you very much already.