closet: module: room_control class: RoomController dependencies: - rich_logging # rich: DEBUG off_duration: '00:02:00' states: - time: 'sunrise - 03:00:00' scene: light.closet: brightness: 25 color_temp: 200 - time: 'sunrise' scene: light.closet: brightness: 75 color_temp: 200 - time: '12:00:00' scene: light.closet: brightness: 175 color_temp: 300 - time: sunset scene: light.closet: brightness: 100 color_temp: 400 closet_motion: module: room_control class: Motion dependencies: - closet # rich: DEBUG app: closet sensor: binary_sensor.closet_motion_occupancy ref_entity: light.closet