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

关于风速显示的问题 #32

Closed
sephrioth opened this issue Jul 11, 2022 · 5 comments
Closed

关于风速显示的问题 #32

sephrioth opened this issue Jul 11, 2022 · 5 comments

Comments

@sephrioth
Copy link

首先感谢作者的插件, 接入空调并暴露给 Homekit 后, 无法在 Home 中调整风速, 在 HA 中是没有问题的。
我看了下 state, 猜测是不是因为中文的关系导致无法在 Homekit 中进行 mapping?

当前的我这边的 state 显示如下:
fan_modes: 最弱, 稍弱, 中等, 稍强, 最强, 自动

@mypal
Copy link
Owner

mypal commented Jul 21, 2022

有可能是的,可能需要研究下hk上怎么做mapping

@sephrioth
Copy link
Author

感谢回复, 虽然不是什么大问题, 但是还是后续可以在 Home 中调整, 这样就可以通过 Siri 来控制了。

@signxer
Copy link

signxer commented Aug 12, 2022

我看了一些homeassistant core 的Issue,提到homekit集成只能识别名称是core里面列举的这些。
所以是不是把中文风速修改成这里看到的几种状态就可以了?
# Possible fan state FAN_ON = "on" FAN_OFF = "off" FAN_AUTO = "auto" FAN_LOW = "low" FAN_MEDIUM = "medium" FAN_HIGH = "high" FAN_TOP = "top" FAN_MIDDLE = "middle" FAN_FOCUS = "focus" FAN_DIFFUSE = "diffuse"

@sephrioth
Copy link
Author

但是还是需要做mapping吧, 不然大金里面的还是中文的?

@xrh0905
Copy link
Contributor

xrh0905 commented Jan 15, 2023

#42
@sephrioth

@xrh0905 xrh0905 mentioned this issue Jan 15, 2023
@mypal mypal closed this as completed in 41239b0 Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants