Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95386

Conditions or trigger on automation

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 95386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>