Danielhiversen / PyXiaomiGateway

PyXiaomiGateway
MIT License
152 stars 55 forks source link

Add four new Aqara button models #174

Closed crhan closed 4 years ago

crhan commented 4 years ago

fix issue #162 and #173

add four models

syssi commented 4 years ago

Could you add the new models to the correct line (equal device type) of the array?

chewbh commented 4 years ago

This change also requires the devices to be added in xiaomi_aqara component to correctly add the devices to home assistant. If not, this only remove the error messages for not recognized devices in the logs. I tested the integration in my environment with the devices. home-assistant/core#37985

lxh0508 commented 4 years ago

I try add the models to init.py. but still can not find the wall switch in the ui of homeassistant.

WARNING (SyncWorker_0) [miio.gateway] Unknown subdevice type SubDeviceInfo(sid='lumi.158d0004650603', type_id=170, unknown=1, unknown2=61, fw_ver=1) discovered, of Xiaomi gateway with ip: 192.168.1.163 | stdout

Home-assistant version: 0.113 OS: Docker in DSM6.2.3-U2

oxelwhy commented 4 years ago

Does this add support for Aqara Switch D1 3 gang as well - "lumi.switch.l3acn3"?

Thanks.

syssi commented 4 years ago

No.

oxelwhy commented 4 years ago

Would it be possible to add this support?