mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
19 lines
416 B
YAML
19 lines
416 B
YAML
alias: "Kristy Location Update"
|
|
id: automation_kristy_location_update
|
|
mode: restart
|
|
|
|
trigger:
|
|
# I've moved
|
|
- platform: state
|
|
entity_id:
|
|
- input_select.kristy_status_dropdown
|
|
- input_boolean.kristy_home
|
|
|
|
condition:
|
|
- condition: template
|
|
value_template: "{{ trigger.from_state.state != trigger.to_state.state }}"
|
|
|
|
action:
|
|
- action: script.turn_on
|
|
entity_id: script.kristy_travel_sensor
|