REQUEST: change lock status without actually sending the command
Hello! I have an MULTLOCK ENTR smart lock, not homekit compatible. I also have on that door a contact sensor. Thanks to your plugin I added a lock accessory that sends the remote control command, same for opening and closing (the lock has a remote). Since the lock has an auto lock capability, what I’m doing is: in the lock config of your plugin I set a dummy code for the lock action, since the door will always be locked when closed. Added a homekit automation for when the door contact sensor closes, the homekit lock accessory will lock (hence do nothing since the code is a dummy code, but the status of the accessory will be the same as the actual lock)

The other half is what I can’t find a way to do: that when the contact sensor opens, the lock homekit accessory change status to open. I can’t do it because the unlock code is real, and if when the door opens the broadlink sends the unlock command it will actually lock (as I said earlier there is one lock/unlock code) the physical lock being the door open (the door knobs come out and I can’t even close the door).

So what I need is to find a way to have it send the unlock command when using the accessory directly but to change the STATUS of the lock accessory without sending the unlock command when it’s triggered by the contact sensor being open.

I know that is a bit messed up and probably I’m the only one with this scenario but still...

The thing is that when I open the door without homekit the lock accessory will still show “locked”. I’m trying to find a way to have the lock accessory show the correct state of the smart lock.

Maybe an option in a switch or even lock accessory where I can put the name of original lock accessory and when switching this second accessory it wil internally from your plugin change the state of the first without sending the actual command?

I could have a dummy secondary lock accessory (“dummy_lock”) linked to the real lock accessory (“real_lock) and the switching of the “dummy_lock” will only change the state of the “real_lock” internally from your plugin and will not send the “real_door” commands.

Thanks for the great work!!