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

Z-wave switch flipping on and off after PIR motion detected

$
0
0

@palengh wrote:

The garage light switch is making the light flash on and off as shown in the GIF. At the same time I can hear the sound of the relay going on and off.
This has been stable for many months.

I noticed today that I stops flashing if I turn the switch off via the HA switch, but triggers back to flashing state once the PIR detects motion.

What am I missing here? No change is made to this Automation from when it all worked as expected.

20200303_215758

This is the Automation

- alias: '[Lys] Garasjelys PÅ' ## Switch light on when PIR motion
  trigger:
    platform: state
    entity_id: binary_sensor.pir_garasje
    to: 'on'
  action:
    - service: switch.turn_on
      entity_id: switch.garasjelys

- alias: '[Lys] Garasjelys av etter bevegelse' ## Switch light off after PIR motion has stopped
  trigger:
    platform: state
    entity_id: binary_sensor.pir_garasje
    to: 'off'
    for: '00:01:00'
  action:
    service: switch.turn_off
    entity_id: switch.garasjelys

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 101899

Trending Articles



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