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

Door Contact - Automation Help - parameters?

$
0
0

Hi All,
I have a Zigbee Door Contact that is part of an automation that should turn on the workshop lights (a Z-Wave switch) when the door is opened.
It is the 1st time I use more than one trigger (motion sensor as well as door contact).
I don’t understand if I have missed a setting or if this is just “as it is with cheap Zigbee sensor”, but the contact sensor does not trigger half the time. With the door already open and the light manually turned off I have had instances where closing the door turned on the light.

The automation code that was generated from the HA interface is :

alias: Atelier Lights ON-Got motion
description: ""
triggers:
  - type: opened
    device_id: 66674756753029e2552385084daf786a
    entity_id: a2b1b60bb908b1c0d225069df1bbcf82
    domain: binary_sensor
    trigger: device
  - type: motion
    device_id: 8c327d6ba9af462438e4dfb3c73e1383
    entity_id: 495c8963a91e47c237c34dd6b1668a32
    domain: binary_sensor
    trigger: device
conditions: []
actions:
  - type: turn_on
    device_id: 94ff87dca5f9346db953da210cd8492e
    entity_id: c87ce9c7a1bee6f5f841dd9d409b7388
    domain: switch
mode: single

Any suggestions on testing or parameters that I might have missed would be appreciated.
Thanks.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106204

Trending Articles



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