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

空调风速映射不正确 #1099

Closed
HateBaozi opened this issue Apr 25, 2023 · 3 comments · Fixed by #1113
Closed

空调风速映射不正确 #1099

HateBaozi opened this issue Apr 25, 2023 · 3 comments · Fixed by #1113
Labels
bug Something isn't working device: air-conditioner fixed bug fixed

Comments

@HateBaozi
Copy link
Contributor

HateBaozi commented Apr 25, 2023

Device model / 设备型号

qdhkl.aircondition.b23

Component version / 插件版本

0.7.7

HA core version / HA版本

2023.4.6

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

No response

Entity attributes / 实体属性

空调的风速映射,和米家APP还有控制器实际风速都不一样
低速 = 高速
中速 = 中速
高速 = 低速

Home Assistant Logs / 系统日志

@HateBaozi
Copy link
Contributor Author

HateBaozi commented Apr 26, 2023

IMG_9307
IMG_9308
![IMG_9308]
fan_level 4对应的应该是low,miot-spec网页上的是对的。但是插件映射出来不对,fan_mode变成high了
从截图可以看到,preset_mode也不对,这个设备没有preset_mode功能

@al-one
Copy link
Owner

al-one commented Apr 28, 2023

qdhkl.aircondition.b23

该设备有两个版本的规格,插件会优先使用released状态的最新版本。已在最新的提交中为该设备强制使用debug状态的规格,请升级至master分支后重试。

@al-one al-one added bug Something isn't working fixed bug fixed labels Apr 28, 2023
@HateBaozi
Copy link
Contributor Author

qdhkl.aircondition.b23

该设备有两个版本的规格,插件会优先使用released状态的最新版本。已在最新的提交中为该设备强制使用debug状态的规格,请升级至master分支后重试。

能否增加一个local_delay_update的参数,这款设备和其他设备不一样,它需要等待空调回应状态,自身的状态才会更新。现在本地模式连接这个设备,打开空调以后,会马上用lan模式获取状态,但是这个时候空调的状态还是关闭的,估计要过2秒左右才会更新状态

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working device: air-conditioner fixed bug fixed
Projects
None yet
2 participants