-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vallhorn motion sensor always reported as "clear" #26
Comments
Answering my question, yes, there's a quick workaround. For reference:
And now it works perfectly. This works for me because I'm planning on using Vallhorn sensors only, but a proper fix would probably be a bit more involved. |
Just to clarify, so the value to read is is_on and not is_detected is that correct? |
Try release 1.3.5.1 and let know. The issue should be fixed |
I confirm it works perfectly, thanks! |
Great, closing the issues |
Thanks for this integration. I installed this to incorporate a Vallhorn motion sensor to some automations, but unfortunately it's always reported as "clear" when e.g. the Google Home app correctly reports the activity.
I've dumped the JSON with and without motion being detected and I noticed that this sensor does not use the
isOn
attribute, but theisDetected
one instead. Here's the dump while I'm standing in front of the sensor:Note the
isDetected
attribute set to true, which is false when the view is clear. Is there a quick way to patch my installation to use this attribute while a proper fix is implemented?The text was updated successfully, but these errors were encountered: