mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
21 lines
485 B
YAML
21 lines
485 B
YAML
alias: 'Tess Location Update'
|
|
id: automation_tess_location_update
|
|
mode: restart
|
|
|
|
trigger:
|
|
# I've moved
|
|
- platform: state
|
|
entity_id:
|
|
- input_select.tess_status_dropdown
|
|
- input_boolean.tess_home
|
|
condition:
|
|
- condition: template
|
|
value_template: '{{ trigger.from_state.state != trigger.to_state.state }}'
|
|
- condition: state
|
|
entity_id: script.tess_travel_sensor
|
|
state: 'off'
|
|
action:
|
|
|
|
- service: script.turn_on
|
|
entity_id: script.tess_travel_sensor
|