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

插座类 电压显示 倍率异常 #327

Open
Leo357449107 opened this issue Dec 21, 2024 · 1 comment
Open

插座类 电压显示 倍率异常 #327

Leo357449107 opened this issue Dec 21, 2024 · 1 comment
Assignees

Comments

@Leo357449107
Copy link

Describe the Bug / 描述问题

插座qmi.plug.psv3 cuco.plug.cp2d cuco.acpartner.cp6 chuangmi.plug.212a01 电压显示 倍率异常

How to Reproduce / 复现步骤

插线板2 qmi.plug.psv3 电压为正常的0.001
图片
电小酷 cp02 cuco.plug.cp2d 电压为正常的0.000001
图片
电小酷 cp06 cuco.acpartner.cp6 电压为正常的0.000001
图片
米家智能插座2 chuangmi.plug.212a01 电压为正常的0.000001 PS:220V这个值一直不变的,硬件问题
图片

集成版本号
图片

Expected Behavior / 预期结果

预期结果

Home Assistant Logs / 系统日志

No response

Home Assistant Core Version / Home Assistant Core 版本

2024.12.3

Home Assistant Operation System Version / Home Assistant Operation System 版本

无,使用lxc的ubuntu24.04,python3.12.3,uv pip安装

Xiaomi Home Integration Version / 米家集成版本

v0.1.4b0

Additional Context / 其他说明

No response

@SusanPhevos SusanPhevos self-assigned this Dec 21, 2024
@DoraTiger
Copy link

这个问题是因为整个这个大类的spec没有给对应的转换规则,导致识别错误,另外你也可以看见电流没单位。我之前有个pr解决这个问题了#101,一直没见合并,可能是因为我多加了额外的单位定义要内部讨论吧,开发可以参考一下。

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

3 participants