adds gitignore
This commit is contained in:
@@ -4,13 +4,14 @@ blueprint:
|
||||
domain: automation
|
||||
author: Florian Klemenz
|
||||
input:
|
||||
motion_entity:
|
||||
motion_sensors:
|
||||
name: Motion Sensor
|
||||
selector:
|
||||
entity:
|
||||
multiple: true
|
||||
filter:
|
||||
device_class: motion
|
||||
domain: binary_sensor
|
||||
device_class: motion
|
||||
no_motion_wait:
|
||||
name: Wait time
|
||||
description: Time to leave the scene on after last motion is detected.
|
||||
@@ -20,11 +21,13 @@ blueprint:
|
||||
min: 0
|
||||
max: 300
|
||||
unit_of_measurement: seconds
|
||||
illuminance_sensor:
|
||||
illuminance_sensors:
|
||||
name: Illuminance sensor
|
||||
description: The illuminance sensor to get lux data.
|
||||
selector:
|
||||
entity:
|
||||
multiple: true
|
||||
filter:
|
||||
domain: sensor
|
||||
device_class: illuminance
|
||||
illuminance_cutoff:
|
||||
@@ -70,8 +73,8 @@ mode: restart
|
||||
max_exceeded: silent
|
||||
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: !input motion_entity
|
||||
- platform: state
|
||||
entity_id: !input motion_sensors
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
@@ -80,7 +83,7 @@ action:
|
||||
# "Activate off-scene if illuminance is above threshold"
|
||||
- conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: !input illuminance_sensor
|
||||
entity_id: !input illuminance_sensors
|
||||
above: !input illuminance_cutoff
|
||||
sequence:
|
||||
- service: scene.turn_on
|
||||
@@ -107,7 +110,7 @@ action:
|
||||
- alias: "Wait until there is no motion from device"
|
||||
wait_for_trigger:
|
||||
platform: state
|
||||
entity_id: !input motion_entity
|
||||
entity_id: !input motion_sensors
|
||||
from: "on"
|
||||
to: "off"
|
||||
- alias: "Wait the number of seconds that has been set"
|
||||
|
||||
Reference in New Issue
Block a user