Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- homeassistant:
- name: Home
- latitude: ***
- longitude: ***
- temperature_unit: C
- time_zone: Europe/Brussels
- device_tracker:
- platform: nmap_tracker
- hosts: 192.168.0.1-255
- home_interval: 1
- pokemon:
- playername: Bart274
- enemyname: GreenTurtwig
- interval: 60
- icloud:
- bart:
- username: <my username>
- password: <my password>
- manual_update:
- - '7:45'
- - '7:50'
- - '17:45'
- - '17:50'
- ignored_devices:
- - iphonevanbvb
- - ipodvanbart
- events: True
- sharon:
- username: <gf's username>
- password: <gf's password>
- manual_update:
- - '8:45'
- - '8:50'
- - '18:45'
- - '18:50'
- group:
- bart:
- name: Bart
- entities:
- - device_tracker.iphonebart
- sharon:
- name: Sharon
- entities:
- - device_tracker.iphonevansharon
- bartsharon:
- name: Bart & Sharon
- entities:
- - group.bart
- - group.sharon
- automation:
- - alias: Bart vertrekt ergens
- trigger:
- platform: state
- entity_id: device_tracker.iphonebart
- to: 'not_home'
- action:
- - condition: template
- value_template: "{{ trigger.from_state.state != 'not_home' }}"
- - service: notify.pushbullet
- data_template:
- title: "Bart left"
- message: "Bart is vertrokken in {{ trigger.from_state.state }}"
- - alias: Sharon vertrekt ergens
- trigger:
- platform: state
- entity_id: device_tracker.iphonevansharon
- to: 'not_home'
- action:
- - condition: template
- value_template: "{{ trigger.from_state.state != 'not_home' }}"
- - service: notify.pushbullet
- data_template:
- title: "Sharon left"
- message: "Sharon is vertrokken in {{ trigger.from_state.state }}"
- - alias: Bart komt ergens
- trigger:
- platform: state
- entity_id: device_tracker.iphonebart
- from: 'not_home'
- action:
- - condition: template
- value_template: "{{ trigger.to_state.state != 'not_home' }}"
- - service: notify.pushbullet
- data_template:
- title: "Bart arrived"
- message: "Bart is aangekomen in {{ trigger.to_state.state }}"
- - alias: Sharon komt ergens
- trigger:
- platform: state
- entity_id: device_tracker.iphonevansharon
- from: 'not_home'
- action:
- - condition: template
- value_template: "{{ trigger.to_state.state != 'not_home' }}"
- - service: notify.pushbullet
- data_template:
- title: "Sharon arrived"
- message: "Sharon is aangekomen in {{ trigger.to_state.state }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement