Skip to content

Instantly share code, notes, and snippets.

@haade-administrator
Last active May 19, 2021 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haade-administrator/ecbf82461009fd134a1cc7228946edc1 to your computer and use it in GitHub Desktop.
Save haade-administrator/ecbf82461009fd134a1cc7228946edc1 to your computer and use it in GitHub Desktop.
contact sec retour à l'état off d'un relais concerne tuto yunshan
alias: Contact sec Garage
description: 'retour d'état du relais switch on à off au bout de 400ms'
trigger:
- platform: state
entity_id: switch.porte_garage_relais
to: 'on'
condition: []
action:
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 400
- type: toggle
device_id: 60473dd2bd19e997133dbd205da2fb3d
entity_id: switch.porte_garage_relais
domain: switch
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment