Files
hass.fnv/appdaemon/settings/apps/light/lightcontrol_bath.yaml
T
2026-03-10 07:08:59 +00:00

39 lines
1.3 KiB
YAML

#################################
# LIGHT CONTROL #
#################################
light_control_bath:
module: lightcontrol_bath
class: LightControlBath
sensor: binary_sensor.motion_bath
door_sensor: binary_sensor.door_bath_contact
control_entity: switch.light_bath
control_night_entity: switch.light_bath_mirror
control_mini_light_entity: light.light_bath_shelf
timeout: 240
constraint: input_boolean.bath_light_control
global_dependencies:
- globals
light_control_shower:
module: lightcontrol_bath
class: LightControlBath
sensor: binary_sensor.motion_shower_center_occupancy
door_sensor: binary_sensor.door_shower_contact
control_entity: switch.light_shower_main_spotlights
control_night_entity: switch.shower_mirror
control_mini_light_entity: light.light_shower_shelf_light
timeout: 240
constraint: input_boolean.shower_light_control
global_dependencies:
- globals
light_control_shower_shower:
module: lightcontrol_bath
class: LightControlBath
sensor: binary_sensor.motion_shower_shower_occupancy
door_sensor: binary_sensor.door_shower_contact
control_entity: switch.light_shower_shower_spotlights
timeout: 360
constraint: input_boolean.shower_light_control
global_dependencies:
- globals