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

重写插件 #7

Open
cxlwill opened this issue Dec 14, 2017 · 4 comments
Open

重写插件 #7

cxlwill opened this issue Dec 14, 2017 · 4 comments

Comments

@cxlwill
Copy link
Collaborator

cxlwill commented Dec 14, 2017

官方 Climate 组件似乎更新,另外 miio 亦加入了空调伴侣的内容。我们是不是要考虑重写这货了

@mac-zhou
Copy link
Owner

mac-zhou commented Dec 14, 2017 via email

@cxlwill
Copy link
Collaborator Author

cxlwill commented Dec 14, 2017

加了一个雏形,不过确实是 pre-release,但是我们不能光靠 miio,因为 syssi 他们应该是没有这个设备的。所以估计要靠我们这里提供信息。

@mac-zhou
Copy link
Owner

嗯,我今天来重写一下试试

@mac-zhou mac-zhou mentioned this issue Dec 15, 2017
@cxlwill
Copy link
Collaborator Author

cxlwill commented Dec 19, 2017

更新HA 至 0.60.0,miio 至 0.3.3,手动修改 import 版本后出现以下 ERROR:

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 231, in async_update_ha_state
    attr)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 333, in _attr_setter
    value = getattr(self, name)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/climate/__init__.py", line 736, in supported_features
    raise NotImplementedError()
NotImplementedError`

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