Skip to content

Instantly share code, notes, and snippets.

@tonydew
Created April 12, 2016 05:33
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 tonydew/44433fe96644f23f45ad73c3131fd0b1 to your computer and use it in GitHub Desktop.
Save tonydew/44433fe96644f23f45ad73c3131fd0b1 to your computer and use it in GitHub Desktop.
automation:
- alias: 'Shut off the switch'
trigger:
platform: time
seconds: 10
condition:
platform: state
entity_id: switch.leviton_unknown_type1c02_id0334_switch_2
state: 'on'
action:
service: homeassistant.shut_off
entity_id: switch.leviton_unknown_type1c02_id0334_switch_2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment