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

Support for lumi.acpartner.v3 #530

Open
chenquanhao opened this issue Jul 16, 2019 · 5 comments
Open

Support for lumi.acpartner.v3 #530

chenquanhao opened this issue Jul 16, 2019 · 5 comments

Comments

@chenquanhao
Copy link

Hello,
is it possible to add support for the lumi.acpartner.v3?

Log Details (ERROR)
Tue Jul 16 2019 18:12:06 GMT+0800 (中国标准时间)
Unsupported device found! Please create an issue at https://github.com/rytilahti/python-miio/issues and provide the following data: lumi.acpartner.v3

@rytilahti
Copy link
Owner

How old version of python-miio are you using? #313 added support to it over a year ago (to my understanding).

@chenquanhao
Copy link
Author

I think so, but there is no lumi. acpartner. V3 support mode on the page.
Https://www.home-assistant.io/components/switch.xiaomi_miio/
Model
(string) (Optional) The model of your miio device. Valid values are chuangmi.plug.v1', qmi.powerstrip.v1', zimi.powerstrip.v2', chuangmi.plug.m1', chuangmi.plug.m3', chuangmi.plug.plug.v2', ``chuangmi.plug.v3andchuangmi.plug plug 205'. This device can be set up to detect Nd is recommended if your device is not't always available.

@chenquanhao
Copy link
Author

I'm going to add a switch to lumi. acpartner. V3.

  • platform: xiaomi_miio
    Name: mi_acpartner_jing
    Host: 192.168.1.8x
    Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    Model: lumi. acpartner. V3

@chenquanhao
Copy link
Author

HA0.80.3
Thu Jul 18 2019 08:52:19 GMT+0800 (中国标准时间)
Invalid config for [switch.xiaomi_miio]: value is not allowed for dictionary value @ data['model']. Got 'lumi.acpartner.v3'. (See ?, line ?). Please check the docs at https://home-assistant.io/components/switch.xiaomi_miio/

@rytilahti
Copy link
Owner

That's a warning coming from homeassistant. Is the device working correctly with miiocli tool? If yes, this should be reported to homeassistant.

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

No branches or pull requests

2 participants