mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
18 lines
405 B
YAML
18 lines
405 B
YAML
alias: "Ebin Location Update"
|
|
id: automation_ebin_location_update
|
|
mode: restart
|
|
|
|
trigger:
|
|
# I've moved
|
|
- platform: state
|
|
entity_id:
|
|
- input_select.ebin_status_dropdown
|
|
- input_boolean.ebin_home
|
|
condition:
|
|
- condition: template
|
|
value_template: "{{ trigger.from_state.state != trigger.to_state.state }}"
|
|
|
|
action:
|
|
- action: script.turn_on
|
|
entity_id: script.ebin_travel_sensor
|