Closed hellkun closed 3 years ago
The same problem with Aqara smartlock N100. Only with LOCK event, the DOOR event is good
Sorry. Problem from this commit https://github.com/AlexxIT/XiaomiGateway3/commit/0dd5b78c652905e9c6792eaa656c11650c519c54
sensor.py line 324: modify: elif k in ('key_id', 'lock_control', 'lock_state'): to: elif k in ('lock_control', 'lock_state'): Then it's OK.
I could confirm this is fixed in 1.5.1, so I'm closing it. Thanks for your great work, @AlexxIT
I've a BLE lock (Loock S30), I used its action (to_state: lock) as a trigger in one of my automations, however, it stops working after upgrading to 1.5.0.
The log seems alright, like:
But, according to the trace of the automation, the new to_state is "key_id", as well as the 'action' in its attributes, which seems weird, I guess it's the problem which stops my automation working. The trace are shown below: