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

How to trigger automation with one status sensor

$
0
0

@s4mmy wrote:

Hello all,

Does anyone know a way to trigger automation whenever a sensor has only one sensor status?
I have Airam fire detector and it works OK, but only sends ‘Panic’ whenever I test it.

I tried to change the state manually but the state changes back to Panic after a few seconds… (loads from some db or smth?)
I also tried to keep ‘to’ & ‘from’ fields empty to get all state triggers but it seems that the state needs to change…

Any help would be appreciated!

alias: Notify if garage fire alarm is triggered
  description: ''
  trigger:
  - entity_id: sensor.garage_fire_detector_sensor_status
    platform: state
  condition: []
  action:

This works one time after HA reboot as the status is unknown and then changes to Panic.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



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