Onesti easytouch_v1 Last unlock user coming through as 'None'
What happened?
Hi,
Not sure if this is the right place for this issue, so please let me know if it is a frontend issue or somewhere else and I can move it.
I recently upgraded z2m and this issue started.
I have an easytouch integration with my door lock, and it seems like when user 0 unlocks the door, it isn't being properly sent through to HA and shows up as None. Here's what I see in Z2M logs:
'{"auto_relock":null,"battery":83,"last_lock_source":"self","last_lock_user":0,"last_unlock_source":"keypad","last_unlock_user":0,"last_used_pin_code":"****","linkquality":32,"lock_state":"locked","pin_code":null,"sound_volume":"low_volume","state":"LOCK","voltage":4200}'
Everything looks good in Z2M and I can see Last unlock user: 0 in the device settings, but state_attr('sensor', 'door_lock_last_lock_user') is set to None instead of 0. Any ideas what could cause this issue/where I can look to possibly fix it?
What did you expect to happen?
When the last_unlock_user is set to 0, HA should also see it as 0, and not None
How to reproduce it (minimal and precise)
- Create integration for easytouch_v1 in Z2M
- Unlock the door as user 0.
- In HA, you will see last_unlock_user is None
Zigbee2MQTT version
1.40.2
Adapter firmware version
20230507
Adapter
SONOFF ZBDongle-E
Setup
Add-on on HA running in virtualbox on Ubuntu/Intel
Debug log
No response
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days
I also have this problem since a few months back. Any news?