Files
ad_trident/apps/apps.yaml

46 lines
981 B
YAML

# I now directly run AppDaemon with debugpy in DockerStart.sh. Not sure which is best
# 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
toggle_events:
button_long_press:
event_name: zha_event
event_data:
device_name: 'bedroom_hue_remote'
args:
press_type: 'hold'
button: 'off'
reset_data:
device_name: 'bedroom_hue_remote'
args:
button: 'off'
press_type: 'long_release'