Created
January 1, 2021 19:14
-
-
Save Didgeridrew/6c919d4ff70f1cf7763f6691bd96f38f to your computer and use it in GitHub Desktop.
HA heater automation help for Roy
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: 'Heat on when close to home' | |
description: Turn on heat when Roy is leaving work on his way home. | |
trigger: | |
- platform: zone | |
entity_id: device_tracker.roy | |
zone: zone.work | |
event: leave | |
condition: | |
- condition: state | |
entity_id: proximity.roy_home | |
state: towards | |
attribute: dir_of_travel | |
action: | |
- condition: state | |
entity_id: binary_sensor.people_home | |
state: 'off' | |
- service: HOWEVER YOU TURN ON YOUR HEATER | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment