Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i can't use Aqara D1 Wireless Remote Switch (Single Rocker) (WXKG06LM) (lumi.remote.b186acn02) in homeassistant 0.114.3 #185

Closed
BG1KAP opened this issue Aug 20, 2020 · 7 comments · Fixed by #186

Comments

@BG1KAP
Copy link

BG1KAP commented Aug 20, 2020

i upgrade my homeassistant to 0.114.3 , but Aqara D1 Wireless Remote Switch (Single Rocker) (WXKG06LM) can not used , why?
i using raspberrypi + docker + homeassistant

,2020-08-21 00:27:55 ERROR (SyncWorker_10) [xiaomi_gateway] Unsupported device found! Please create an issue at https://github.com/Danielhiversen/PyXiaomiGateway/issues and provide the following data: {'cmd': 'read_ack', 'model': 'remote.b186acn02', 'sid': '158d00041c6500', 'short_id': 15356, 'data': '{"voltage":3095}'}
,2020-08-21 00:27:55 ERROR (SyncWorker_10) [xiaomi_gateway] Unsupported device found! Please create an issue at https://github.com/Danielhiversen/PyXiaomiGateway/issues and provide the following data: {'cmd': 'read_ack', 'model': 'remote.b186acn02', 'sid': '158d00042c1cf5', 'short_id': 4982, 'data': '{"voltage":3115}'}
,2020-08-21 00:27:55 ERROR (SyncWorker_10) [xiaomi_gateway] Unsupported device found! Please create an issue at https://github.com/Danielhiversen/PyXiaomiGateway/issues and provide the following data: {'cmd': 'read_ack', 'model': 'remote.b186acn02', 'sid': '158d00045b2906', 'short_id': 17902, 'data': '{"voltage":3105}'}

@sylv1697
Copy link

sylv1697 commented Sep 5, 2020

Hello, i have the same issue.
https://github.com/Danielhiversen/PyXiaomiGateway/issues and provide the following data: {'cmd': 'read_ack', 'model': 'remote.b186acn02', 'sid': '158d0004651b36', 'short_id': 61293, 'data': '{"voltage":3055}'}
As someone as a solution ?

@settler-als
Copy link

Logger: xiaomi_gateway
Source: /usr/local/lib/python3.8/site-packages/xiaomi_gateway/init.py:309
First occurred: 0:21:00 (1 occurrences)
Last logged: 0:21:00

Unsupported device found! Please create an issue at https://github.com/Danielhiversen/PyXiaomiGateway/issues and provide the following data: {'cmd': 'read_ack', 'model': 'remote.b186acn02', 'sid': '158d00042c0239', 'short_id': 12282, 'data': '{"voltage":3025}'}

@fabricepipart
Copy link
Contributor

I think this model has just been forgotten when those two commits were made:
88699a2
and
f0742e1

This should just be a matter of referencing the button model here:
https://github.com/Danielhiversen/PyXiaomiGateway/blob/master/xiaomi_gateway/__init__.py#L262

I'll try to do a fix ASAP. On the other side, it seems to be correctly referenced on HA side:
home-assistant/core@3fc5f9d

@fabricepipart
Copy link
Contributor

@syssi It seems that there is no automatic releasing for this repository. Any idea when a new version can be released so that we reference it in Home Assistant to have the new button type supported?

@syssi
Copy link
Collaborator

syssi commented Sep 27, 2020

I've prepared a new release. Do you like to prepare a PR for Home Assistant (make sure the model is handled properly + version bump)?

@fabricepipart
Copy link
Contributor

Thanks for the new release 👍

Indeed I can give some help and do the PR on HA side. I may just have a few questions but I plan to do something that looks like this:
home-assistant/core@3fc5f9d

@syssi
Copy link
Collaborator

syssi commented Sep 28, 2020

I've reviewed the old PR. In this case just a version bump to 0.13.3 is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants