niceboygithub / AqaraGateway

Aqara Gateway/Hub integration for Home Assistant
505 stars 66 forks source link

Add `away_mode` `door_state` `lock_state` `latch_state` to Aqara Lock A100 D200 D100 H100 P100 N100 S100 #231

Closed Necroneco closed 1 month ago

Necroneco commented 7 months ago

Other similar locks may also be modified in this way, but I didn't do it because I don't have those device.

niceboygithub commented 6 months ago

Need to consider others lock, like P100, N100 etc.

Necroneco commented 6 months ago

Need to consider others lock, like P100, N100 etc.

These changes are safe for other locks, with no impact.

Do you need me to change other locks as well? I can try to do it but I have no device for test.

Necroneco commented 1 month ago

only tested on D200 and A100

Necroneco commented 1 month ago

keep the sensor.xxxx_lock as before, no breaking change.