Hello,
is there a way to make an motiona ctived automation with HASS, which works as good as the blueprint?
I have the problem, that when I do an auomation myself, I can’t detect continous motion, so it only works, if the motion sensor stops detect motion, when there’s continuous motion in the room, the light will just go off after at the end of the automation and the automation wont’ restart.
I have an example:
This blueprint automation works very good, even if there’s continous motion
alias: Flur Bewegung
description: ''
use_blueprint:
path: homeassistant/motion_light.yaml
input:
motion_entity: binary_sensor.presence_2
light_target:
entity_id: light.flur
no_motion_wait: 30
But this automation only works, when there’s a NEW motion detected:
alias: Flur Bewegung Tagsüber
description: ''
trigger:
- type: motion
platform: device
device_id: 70a495065210ef38abc97fb3a3142baf
entity_id: binary_sensor.presence_2
domain: binary_sensor
condition:
- condition: time
after: '07:00:00'
action:
- service: light.turn_on
target:
entity_id:
- light.flur
data:
brightness_pct: 100
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: light.turn_on
target:
entity_id:
- light.flur
data:
brightness_pct: 50
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: light.turn_off
target:
entity_id:
- light.flur
mode: restart
Is there any possiblity to get the same function of continous motion like the blueprint has?
I hope someone can help me,
Greetings,
Simon