Coder Social home page Coder Social logo

i can't use Aqara D1 Wireless Remote Switch (Single Rocker) (WXKG06LM) (lumi.remote.b186acn02) in homeassistant 0.114.3 about pyxiaomigateway HOT 7 CLOSED

BG1KAP avatar BG1KAP commented on June 24, 2024
i can't use Aqara D1 Wireless Remote Switch (Single Rocker) (WXKG06LM) (lumi.remote.b186acn02) in homeassistant 0.114.3

from pyxiaomigateway.

Comments (7)

sylv1697 avatar sylv1697 commented on June 24, 2024

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 ?

from pyxiaomigateway.

settler-als avatar settler-als commented on June 24, 2024

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}'}

from pyxiaomigateway.

fabricepipart avatar fabricepipart commented on June 24, 2024

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

from pyxiaomigateway.

fabricepipart avatar fabricepipart commented on June 24, 2024

@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?

from pyxiaomigateway.

syssi avatar syssi commented on June 24, 2024

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)?

from pyxiaomigateway.

fabricepipart avatar fabricepipart commented on June 24, 2024

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

from pyxiaomigateway.

syssi avatar syssi commented on June 24, 2024

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

from pyxiaomigateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.