diff --git a/motion-activated-light.yaml b/motion-activated-light.yaml index 8d13261..04de4d7 100644 --- a/motion-activated-light.yaml +++ b/motion-activated-light.yaml @@ -69,7 +69,7 @@ blueprint: notice_seconds: name: "Notice seconds" - description: "The number of seconds to wait in the Prep1 (Notice) scene." + description: "The number of seconds to wait in the Notice scene." default: 15 selector: number: @@ -81,7 +81,7 @@ blueprint: warning_seconds: name: "Warning seconds" - description: "The number of seconds to wait in the Prep2 (Warning) scene." + description: "The number of seconds to wait in the Warning scene." default: 15 selector: number: @@ -99,16 +99,16 @@ blueprint: domain: scene - scene_off_prep_1: - name: "Off Prep Scene 1 (Notice)" + scene_notice: + name: "Notice Scene" description: "The first scene to activate when motion is no longer detected (notice phase)." selector: entity: domain: scene - scene_off_prep_2: - name: "Off Prep Scene 2 (Warning)" + scene_warning: + name: "Warning Scene" description: "The second scene to activate when motion is no longer detected (warning phase)." selector: entity: @@ -371,7 +371,7 @@ action: - parallel: - service: scene.turn_on target: - entity_id: !input scene_off_prep_1 + entity_id: !input scene_notice - stop: "" # In warning mode, just activate the WARNING scene @@ -383,7 +383,7 @@ action: - parallel: - service: scene.turn_on target: - entity_id: !input scene_off_prep_2 + entity_id: !input scene_warning - stop: "" # Don't do anything after processing the enabled_helper triggers @@ -475,10 +475,10 @@ action: name: "Begin notice period" message: "Begin notice period; Waiting while motion is still off." - parallel: - - alias: "Activate Scene: Off Prep 1 (Notice)" + - alias: "Activate Scene: Notice" service: scene.turn_on target: - entity_id: !input scene_off_prep_1 + entity_id: !input scene_notice - alias: "Delay during the notice period" wait_template: "{{ states[motion_sensor].state == 'on' }}" timeout: "{{ notice_seconds }}" @@ -545,10 +545,10 @@ action: name: "Begin warning period" message: "Begin warning period; Waiting while motion is still off." - parallel: - - alias: "Activate Scene: Off Prep 2 (Warning)" + - alias: "Activate Scene: Warning" service: scene.turn_on target: - entity_id: !input scene_off_prep_2 + entity_id: !input scene_warning - alias: "Delay during the warning period" wait_template: "{{ states[motion_sensor].state == 'on' }}" timeout: "{{ warning_seconds }}"