splits the lights into a dedicated yaml
This commit is contained in:
Submodule apps/ad_toolbox updated: 923cfd4152...da282058d8
21
apps/yaml/apps.yaml
Normal file
21
apps/yaml/apps.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
debugger:
|
||||
module: debugger
|
||||
class: Debugger
|
||||
port: 5678
|
||||
|
||||
motion_tracker:
|
||||
module: motiontracker
|
||||
class: MotionTracker
|
||||
|
||||
priority: 5 # this need to be initialized before app using motion tracker
|
||||
|
||||
mqtt_device_name: AD Motion Tracker
|
||||
|
||||
areas:
|
||||
corridor:
|
||||
motion_sensors: binary_sensor.corridor_motion
|
||||
hallway:
|
||||
motion_sensors: binary_sensor.hallway_motion
|
||||
restroom:
|
||||
motion_sensors: binary_sensor.restroom_motion
|
||||
|
||||
@@ -1,22 +1,3 @@
|
||||
debugger:
|
||||
module: debugger
|
||||
class: Debugger
|
||||
port: 5678
|
||||
|
||||
motion_tracker:
|
||||
module: motiontracker
|
||||
class: MotionTracker
|
||||
|
||||
mqtt_device_name: AD Motion Tracker
|
||||
|
||||
areas:
|
||||
corridor:
|
||||
motion_sensors: binary_sensor.corridor_motion
|
||||
hallway:
|
||||
motion_sensors: binary_sensor.hallway_motion
|
||||
restroom:
|
||||
motion_sensors: binary_sensor.restroom_motion
|
||||
|
||||
light_corridor:
|
||||
module: smartlight
|
||||
class: SmartLight
|
||||
@@ -42,5 +23,4 @@ light_restroom:
|
||||
|
||||
smart_conditions:
|
||||
trigger_conditions: sensor.restroom_last_motion < 5
|
||||
blocking_conditions: sensor.restroom_motion_light_level > 10 and not self
|
||||
|
||||
blocking_conditions: sensor.restroom_motion_light_level > 10 and not self
|
||||
Reference in New Issue
Block a user