Created
February 19, 2017 20:46
-
-
Save runningman84/a258ecfcb7e4d267dac75003edf684f6 to your computer and use it in GitHub Desktop.
turn off lights
This file contains hidden or 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
- alias: Turn off Arbeitszimmer lights at night | |
trigger: | |
platform: time | |
# When 'after' is used, you cannot also match on hour, minute, seconds. | |
# Military time format. | |
#after: '23:00:00' | |
after: '21:22:00' | |
#condition: | |
# condition: state | |
# entity_id: binary_sensor.net_laptop_philipp | |
# state: 'off' | |
#condition: | |
# condition: and | |
# conditions: | |
# - condition: state | |
# entity_id: binary_sensor.net_pc_philipp | |
# state: 'off' | |
# - condition: state | |
# entity_id: binary_sensor.net_laptop_philipp | |
# state: 'off' | |
action: | |
service: homeassistant.turn_off | |
entity_id: | |
- light.hue_fido | |
- switch.fluxer_arbeitszimmer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment