mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
Tweaks after changing room names
This commit is contained in:
@@ -5,23 +5,36 @@ mode: restart
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- device_tracker.kristy_s_phone
|
||||
- group.person_kristy
|
||||
- device_tracker.nmap_tracker_d6_28_7a_58_b8_da
|
||||
from: "home"
|
||||
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: device_tracker.kristy_s_phone
|
||||
state: "not_home"
|
||||
- platform: event
|
||||
event_type: automation_reloaded
|
||||
|
||||
condition:
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: device_tracker.kristy_s_phone
|
||||
state: "home"
|
||||
- condition: state
|
||||
entity_id: device_tracker.nmap_tracker_d6_28_7a_58_b8_da
|
||||
state: "home"
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: device_tracker.kristy_s_phone
|
||||
state: "not_home"
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: device_tracker.kristy_s_phone
|
||||
state: "home"
|
||||
- condition: state
|
||||
entity_id: device_tracker.nmap_tracker_d6_28_7a_58_b8_da
|
||||
state: "home"
|
||||
sequence:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.kristy_home
|
||||
|
||||
Reference in New Issue
Block a user