#motion wearther light

1 messages · Page 1 of 1 (latest)

umbral galleon
#

If anybody runs into this problem I ended up using a template sensor to have a 5min timeout from the motion sensor. Code is as follows:

  • trigger:
    • id: 'on'
      platform: state
      entity_id: binary_sensor.luminance_motion
      to: 'off'
      for: '00:05:00'
    • id: 'off'
      platform: state
      entity_id: binary_sensor.luminance_motion
      to: 'on'
      for: '00:00:10'
      binary_sensor :
    • name: Office Empty
      unique_id: office_empty
      state: '{{ trigger.id }}'