Created
April 6, 2019 21:40
-
-
Save rafabene/6b3fc29f76093dbcb86b69994d127bed to your computer and use it in GitHub Desktop.
Home assistant
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
- id: letsencrypt-renewal | |
alias: Let's Encrypt Renewal | |
trigger: | |
- platform: time | |
at: 00:00:00 | |
action: | |
- service: hassio.addon_restart | |
data: | |
addon: core_letsencrypt | |
- id: '1551457245407' | |
alias: Away | |
trigger: | |
- entity_id: device_tracker.google_maps_101249276485332727035 | |
from: home | |
platform: state | |
to: not_home | |
condition: [] | |
action: | |
- service: script.away | |
- id: '1551457272400' | |
alias: Return | |
trigger: | |
- entity_id: device_tracker.google_maps_101249276485332727035 | |
from: not_home | |
platform: state | |
to: home | |
condition: [] | |
action: | |
- service: script.return | |
- id: '1551632927078' | |
alias: Wake up at 9 AM | |
trigger: | |
- at: 09:00 | |
platform: time | |
condition: | |
- condition: state | |
entity_id: device_tracker.google_maps_101249276485332727035 | |
state: home | |
action: | |
- service: script.good_morning |
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
turnof_lights: | |
alias: Turn OFF Lights and Magic Mirror | |
sequence: | |
- data: | |
entity_id: light.tvlight1 | |
service: light.turn_off | |
- data: | |
entity_id: light.tvlight2 | |
service: light.turn_off | |
- alias: '' | |
data: | |
entity_id: light.officelight | |
service: light.turn_off | |
- data: | |
entity_id: switch.lamplight | |
service: switch.turn_off | |
- data: | |
entity_id: switch.magicmirror | |
service: switch.turn_off | |
- data: | |
entity_id: switch.polelight | |
service: switch.turn_off | |
- data: | |
entity_id: switch.bedroomlight | |
service: switch.turn_off | |
turnon_lights: | |
alias: Turn ON Lights and Magic Mirror | |
sequence: | |
- data: | |
entity_id: light.tvlight1 | |
service: light.turn_on | |
- data: | |
entity_id: light.tvlight2 | |
service: light.turn_on | |
- alias: '' | |
data: | |
entity_id: light.officelight | |
service: light.turn_on | |
- data: | |
entity_id: switch.lamplight | |
service: switch.turn_on | |
- data: | |
entity_id: switch.magicmirror | |
service: switch.turn_on | |
- data: | |
entity_id: switch.polelight | |
service: switch.turn_on | |
return: | |
alias: Return | |
sequence: | |
- alias: '' | |
data: {} | |
service: script.turnon_lights | |
- data: | |
entity_id: climate.home | |
operation_mode: cool | |
temperature: '75' | |
service: climate.set_temperature | |
- data: | |
entity_id: remote.living_room | |
service: remote.turn_on | |
good_night: | |
alias: Good Night | |
sequence: | |
- alias: '' | |
data: {} | |
service: script.turnof_lights | |
- data: | |
entity_id: climate.home | |
operation_mode: cool | |
temperature: '73' | |
service: climate.set_temperature | |
- data: | |
entity_id: remote.living_room | |
service: remote.turn_off | |
away: | |
alias: Away | |
sequence: | |
- data: | |
entity_id: remote.living_room | |
service: remote.turn_off | |
- service: script.turnof_lights | |
- data: | |
entity_id: climate.home | |
operation_mode: cool | |
temperature: '80' | |
service: climate.set_temperature | |
good_morning: | |
alias: Good Morning | |
sequence: | |
- data: {} | |
service: script.return | |
- data: | |
entity_id: switch.bedroomlight | |
service: switch.turn_on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment