Renamed a motion sensor to better reflect its true identity
This commit is contained in:
parent
6713bddfce
commit
5dfe5d04fe
|
@ -264,7 +264,7 @@ automation:
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.kitchen_motion
|
entity_id: binary_sensor.back_door_motion
|
||||||
to: 'on'
|
to: 'on'
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: input_boolean.dog_mode
|
entity_id: input_boolean.dog_mode
|
||||||
|
@ -291,6 +291,12 @@ automation:
|
||||||
data_template:
|
data_template:
|
||||||
who: kitchen
|
who: kitchen
|
||||||
message: "Turning on Dog Mode for twenty minutes."
|
message: "Turning on Dog Mode for twenty minutes."
|
||||||
|
- service: scene.turn_on
|
||||||
|
entity_id: scene.diminished_kitchen_lighting
|
||||||
|
- delay:
|
||||||
|
minutes: 20
|
||||||
|
- service: input_boolean.turn_off
|
||||||
|
entity_id: input_boolean.dog_mode
|
||||||
|
|
||||||
# After 20, minutes deactivate dog mode
|
# After 20, minutes deactivate dog mode
|
||||||
- id: dog_mode_deactivated
|
- id: dog_mode_deactivated
|
||||||
|
@ -299,16 +305,14 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: input_boolean.dog_mode
|
entity_id: input_boolean.dog_mode
|
||||||
to: 'on'
|
to: 'off'
|
||||||
action:
|
action:
|
||||||
- delay:
|
|
||||||
minutes: 20
|
|
||||||
- service: input_boolean.turn_off
|
|
||||||
entity_id: input_boolean.dog_mode
|
|
||||||
- service: script.text_notify
|
- service: script.text_notify
|
||||||
data:
|
data:
|
||||||
who: "jeff"
|
who: "jeff"
|
||||||
message: "Dog Mode has been disabled"
|
message: "Dog Mode has been disabled"
|
||||||
|
- service: scene.turn_on
|
||||||
|
entity_id: scene.kitchen_lightning_off
|
||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
|
|
Loading…
Reference in New Issue