mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
20 lines
483 B
YAML
20 lines
483 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:
|
|
- action: script.turn_on
|
|
entity_id: script.tess_travel_sensor
|