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

xiaomi_aqara/cover new model #25711

Closed
obtusa opened this issue Aug 5, 2019 · 3 comments · Fixed by #25942
Closed

xiaomi_aqara/cover new model #25711

obtusa opened this issue Aug 5, 2019 · 3 comments · Fixed by #25942

Comments

@obtusa
Copy link

obtusa commented Aug 5, 2019

**Home Assistant release with the issue:0.95.1
Operating environment (Hass.io/Docker/Windows/etc.): Docker
Component/platform: xiaomi_aqara/cover
Description of problem:
I've installed new aqara curtain motor B1 (curtain.hagl04)
I issued Danielhiversen/PyXiaomiGateway and he commits.

PyXiaomiGateway/xiaomi_gateway/init.py : 260
'cover': ['curtain', 'curtain.hagl04'],

I changed it and it works. I can see the battery level too, but it's different from the mi home app. (app : 99% ha : 40)

xiaomi_aqara/cover.py : 22
if model == "curtain":
-->
if model == "curtain" or model == "curtain.hagl04":

@ghost
Copy link

ghost commented Aug 6, 2019

Hey there @Danielhiversen, @syssi, mind taking a look at this issue as its been labeled with a integration (xiaomi_aqara) you are listed as a codeowner for? Thanks!

This is a automatic comment generated by codeowners-mention to help ensure issues and pull requests are seen by the right people.

@yang1508
Copy link

Hi, I am sorry.I use Hassio in Mac mini with VMware.Where I can find this file to change it to support B1 model? Pls Help. Tks.

@yang1508
Copy link

where is the path of the following files:
homeassistant/components/xiaomi_aqara/manifest.json

How can I find it?

syssi added a commit to syssi/home-assistant that referenced this issue Aug 18, 2019
Danielhiversen pushed a commit that referenced this issue Aug 18, 2019
* Add support of new Xiaomi Aqara Curtain models (curtain.aq2, curtain.hagl04) (Closes: #25711)

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

Successfully merging a pull request may close this issue.

5 participants