@nnelg wrote:
Hi,
I saw on the Hass page this example:
automation: trigger: platform: numeric_state entity_id: sensor.temperature # Optional value_template: "{{ state.attributes.battery }}" # At least one of the following required above: 17 below: 25
Does it mean when it is between 17 and 25 it will trigger the event and when it is for example 16 the trigger is off but does it mean that the attached action will stay in the current state or will it turn off as well ?
I have for my setup a xiaomi temp humidity sensor and this will trigger my heater to be on or off but I don’t understand how I can link the action to switch on or off the needed switch.
I’m trying to use the automation directly on the page itself.
it is saying that it will do the action when the automation is triggered but does that also mean it will be deactivated when it is not triggered anymore ?
Kind regards,
G
Posts: 7
Participants: 4