Created
January 1, 2018 22:27
-
-
Save laf/4ec0191d0d7e914f23ed2ded46f1fa5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules: | |
- name: Lights | |
entities: | |
- light.ash_grove | |
states: | |
- state: 'on' | |
class: 'light-on' | |
- state: 'off' | |
class: 'light-off' | |
action: | |
service: homeassistant.toggle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment