mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
blue_room to boys_room
This commit is contained in:
@@ -10,13 +10,13 @@ trigger:
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.something_open
|
||||
state: 'on'
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.home_occupied
|
||||
state: "off"
|
||||
action:
|
||||
# Notify the last person to leave
|
||||
- service: notify.mobile_app_pixel_7
|
||||
- action: notify.mobile_app_pixel_7
|
||||
data:
|
||||
message: >-
|
||||
{% if as_timestamp(states.input_boolean.kristy_home.last_updated) > as_timestamp(states.input_boolean.clint_home.last_updated) %}
|
||||
|
||||
Reference in New Issue
Block a user