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
Error with binary_sensor.ble_motion in 7.8.2 #739
Comments
Did you get this message multiple times (for one sensor), or only once? The 7.8.2 update could cause this error, but I think it will only happen once. So, if it doesn't happen again, you can just ignore it. |
I first thought, it happens each time the sensor detects any motion, but it appears, that it only happens 4 times
|
For now, I close the issue, but if it happens again, let me know, by reopening this issue. |
I get the same error also with MJYD02YL on version 7.9.6.
|
Could you do me a favor. At line 475-476 in except KeyError:
self._state = self._newstate Change this to except KeyError:
self._state = self._newstate
except TypeError:
self._state = self._newstate
_LOGGER.error("motion reset timer fails, start timer is %s", self._extra_state_attributes["last_motion"]) It should add an error in the log when it happens, but will continue to work. Please post the error here, so I can fix it. |
|
I seem to have this problem also: Logger: homeassistant.helpers.entity Update for binary_sensor.ruuvitag_ulko_motion_cb2e472bead8 fails I have Home Assistant OS running on RPI4. I don't think I'll be able to edit any .py files. |
I'll fix it in the next release. Somehow, the self._start_timer is stored as a string, not a datetime.datetime object. |
Ok, thank you for the information. the sensor does work as expected and the errors are not piling up for a while if I go and move the sensors a bit. But mine is for temp/humidity measurements and stationary, so motion is not needed :) |
Please try with 8.0.5-beta. Should be solved in that version |
Should be fixed in 8.1.0, which has just been released. |
With Version 7.8.2 I get the following error for both MJYD02YL in my home.
Is there something I'm missing?
The text was updated successfully, but these errors were encountered: