laundry_room_lights.yaml 598 B

1234567891011121314
  1. # Require: https://github.com/jmgiaever/home-assistant-blueprints/blob/master/automation/motion_detected_lights.yaml
  2. automation:
  3. - id: 'laundry_room_motion_active_lights'
  4. alias: 'Laundry room: Motion active lights'
  5. use_blueprint:
  6. path: motion_detected_lights.yaml
  7. input:
  8. trigger_sensors:
  9. - binary_sensor.laundry_room_motion_sensor_home_security_motion_detection
  10. synced_lights:
  11. - light.laundry_room_ceiling_light
  12. after_wait_actions:
  13. wait_template: "{{ is_state('input_boolean.housekeeping_mode', 'off') }}"
  14. delay: 3