FR: Keep Only Entities Timeout #514
StaleLoafOfBread
started this conversation in
Ideas / Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found #367 looking to see if a
clear roomservice exists. I'm currently facing an issue where I can't get my Everything Presence 1's MMWave tuned such that it sees people but not my cats. Maybe I just need to get better at tuning it / placement. However, until I do, I want to make an automation that if the active sensor is only a MMWave for X minutes then clear the room. Once a clear room service exists I still have another issue.While I could do some string processing looking for MMWave in the entity name because for me that's all I put into
keep onlythat's not perfect as I'd need to keep it updated if I ever don't follow that pattern. Or I could enable config in attributes and parse that. Seems possible though I have not attempted it yet. However, I think many could benefit from this feature being implemented right into MA.A feature within MA itself to accompany
keep onlyentities. Something likekeep only timeoutthat what it does is if only thekeep onlyentities have been triggering a room for X minutes, clear it. Every time any normal entity triggers it, it resets that timer keeping thekeep only"fresh".I'd imagine the way you'd implement it is a timer that starts as soon as only
keep onlyentities are triggered. If the timer reaches 0, clear the room. If any other entity detects motion, clear the timer (but not the room of course).For me, this would solve the problem of a person triggering the PIR but a sleeping cat (who is too small for PIR but can trigger MMWave) keeping the lights on after the person walks away.
Beta Was this translation helpful? Give feedback.
All reactions