47 lines
924 B
YAML
47 lines
924 B
YAML
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
|
|
|
|
max_time: 30
|
|
|
|
areas:
|
|
corridor:
|
|
motion_sensors: binary_sensor.corridor_motion
|
|
hallway:
|
|
motion_sensors: binary_sensor.hallway_motion
|
|
restroom:
|
|
motion_sensors: binary_sensor.restroom_motion
|
|
|
|
sleep_switch:
|
|
|
|
module: smartswitch
|
|
class: SmartSwitch
|
|
|
|
entity: input_boolean.sleeping
|
|
|
|
trace_events: zha_event
|
|
|
|
toggle_events:
|
|
button_long_press:
|
|
event_name: zha_event
|
|
event_data:
|
|
device_ieee: '00:17:88:01:09:27:74:45'
|
|
args:
|
|
press_type: 'hold'
|
|
button: 'off'
|
|
reset_data:
|
|
device_ieee: '00:17:88:01:09:27:74:45'
|
|
args:
|
|
button: 'off'
|
|
press_type: 'long_release'
|
|
|