# SONOFF SNZB-06P24 - Automatisierung mit Bewegung und Beleuchtungsstärke

**URL:** <https://community-smarthome.com/t/sonoff-snzb-06p24-automatisierung-mit-bewegung-und-beleuchtungsstaerke/11921>\
**Category:** Hardware & Einrichtung\
**Created:** [20. Oktober 2026 um 10:17 UTC](https://community-smarthome.com/t/sonoff-snzb-06p24-automatisierung-mit-bewegung-und-beleuchtungsstaerke/11921 "2026-10-20T10:17:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![maxe](https://community-smarthome.com/user_avatar/community-smarthome.com/maxe/32/658_2.png) [@maxe](https://community-smarthome.com/u/maxe)\
**Post date:** [20. Oktober 2026 um 10:48 UTC](https://community-smarthome.com/t/sonoff-snzb-06p24-automatisierung-mit-bewegung-und-beleuchtungsstaerke/11921/2 "2026-10-20T10:48:07Z")

</div>

sollte doch recht simple in der 1. Option gehen:

```auto
description: ''
mode: restart
triggers:
  - trigger: occupancy.detected
    target:
      entity_id: binary_sensor.ms_kueche_occupancy
    options:
      for: '00:00:00'
    id: generated-agUq
  - trigger: occupancy.cleared
    target:
      entity_id: binary_sensor.ms_kueche_occupancy
    options:
      for:
        hours: 0
        minutes: 2
        seconds: 0
    id: generated-wVkT
  - trigger: illuminance.crossed_threshold
    target:
      entity_id: sensor.ms_kueche_illuminance
    options:
      threshold:
        type: above
        value:
          active_choice: number
          number: 50
      for:
        hours: 0
        minutes: 2
        seconds: 0
    id: generated-g8bR
conditions: []
actions:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - generated-agUq
          - condition: illuminance.is_value
            target:
              entity_id: sensor.ms_kueche_illuminance
            options:
              for: '00:00:00'
              threshold:
                type: below
                value:
                  active_choice: number
                  number: 50
        sequence:
          - action: light.turn_on
            metadata: {}
            target:
              entity_id: light.arbeitsplatte
            data: {}
      - conditions:
          - condition: trigger
            id:
              - generated-wVkT
              - generated-g8bR
        sequence:
          - action: light.turn_off
            metadata: {}
            target:
              entity_id: light.arbeitsplatte
            data: {}

```

---

_[View the full topic](https://community-smarthome.com/t/sonoff-snzb-06p24-automatisierung-mit-bewegung-und-beleuchtungsstaerke/11921)._
