planbnet / livisi_unofficial

Unofficial fork of the home assistant livisi integration without dependencies on the abandoned aiolivisi lib
Apache License 2.0
36 stars 5 forks source link

Add binary motion sensor #64

Closed DanielHabenicht closed 10 months ago

DanielHabenicht commented 10 months ago

I also had a more pressing issue than #62, so here you go:

The motion sensors now has a binary sensor which is automatically cleared after a configurable amount of time. motion_detected

Only tested with WMD device type.

planbnet commented 9 months ago

Unfortunately, this broke my setup and I had to revert it. On startup, I get an undefined error for off_delay and binary_sensor does not get initialized. I tried to fix this, but changing back the status after the delay is off still does not work.

DanielHabenicht commented 9 months ago

Mhm, I can't reproduce it on my site.