-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Lock State is always UNKNOWN #48
Comments
@rospogrigio , @formatBCE - any thoughts? |
I have no idea... Probably, the lock protocol changed during this year's. My lock is long gone, @rospogrigio abandoned this repo I guess... |
Actually I haven't abandoned this repo, but I'm still stuck with the problem I reported in #46 so my appliance is still not working and I've been having personal issues so I never had the time to dive deeply into it and fix it. BTW I don't know if you have any suggestion @formatBCE on how I can debug it... thank you. |
Is it possible to force open or close without looking at the status ? When i use my real key it's appear Jammed, if i use original app to close or open it it work again, i don't need the status lock or close, just want to force it to close or open. |
Yes, you should comment out the |
@rospogrigio sorry, looks like it's me who abandoned it. :( |
I'm on thx, i will tell if it worked. async def async_open_cover(self, **kwargs):
Or do i need to change LOCK_STATE somewhere ? I tried only the line not all this block. Or do something like that ? async def async_open_cover(self, **kwargs): async def async_close_cover(self, **kwargs): So i did that in custom_device.py Now HA entity work, but i need to jam it to see if it work. |
While that is not my original issue, I have had my lock start showing JAMMED at least once a day as well. You code above will not help this. Here is my code base on what @rospogrigio suggested: """ The 3 quotes are how you comment out a multi-line block in Python. I have done this in both the open and close methods. After I made the change I had another JAMMED state and the lock will now open anyway. I hope this helps. |
@rospogrigio - if you can let me know where the cover state should be updated, I can code and test on my side since I have a working lock and then make a PR for the changes. |
This one work after a Jammed status : def isjammed(self) -> bool | None: |
Even though the Status sensor is being set correctly (most of the time it reads Locked), the state of the Lock (cover) is always UNKNOWN.
I looked at the code and don't see state being set anywhere and the async_update code does nothing.
I am assuming it is related but the button icons for open and close are the same.
The text was updated successfully, but these errors were encountered: