diff --git a/packages/rooms/bedroom.yaml b/packages/rooms/bedroom.yaml index fbdb28e1..2e7b4ba5 100644 --- a/packages/rooms/bedroom.yaml +++ b/packages/rooms/bedroom.yaml @@ -495,6 +495,36 @@ automation: target: entity_id: scene.bedroom_turn_off_ambient_light mode: single + - id: "1621713867763" + alias: "Bedroom: No Motion For Long Time" + description: "" + trigger: + - platform: state + entity_id: binary_sensor.bedroom_area_motion + from: "on" + to: "off" + for: 01:00:00 + condition: + - condition: state + entity_id: light.bedroom_lamps + state: "off" + - condition: state + entity_id: input_boolean.enable_bedroom_motion_trigger + state: "on" + action: + - parallel: + - service: script.send_to_home_log + data: + message: >- + :no_pedestrians: No motion detected For 1 hour. + Turning clock off. + title: " :bed: Bedroom" + log_level: "Debug" + - service: light.turn_off + data: {} + target: + entity_id: light.bedroom_clock_matrix + mode: single # Fan - id: "1690844451011" alias: "Bedroom: Turn Off Fan"