Skip to content

Instantly share code, notes, and snippets.

@smarthomehobby
Created June 10, 2018 20:10
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 smarthomehobby/1960d5b8bdb915a224d8d46db29223da to your computer and use it in GitHub Desktop.
Save smarthomehobby/1960d5b8bdb915a224d8d46db29223da to your computer and use it in GitHub Desktop.
television_on_check:
alias: Television on Check
sequence:
- condition: state
entity_id: switch.tv
state: 'on'
- service: switch.turn_off
entity_id: switch.tv
air_on_check:
alias: Air on Check
sequence:
- condition: state
enitity_id: switch.air_conditioner
state: 'on'
- service: switch.turn_off
entity_id: switch.air_conditioner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment