We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cuco.plug.v3 耗电量始终为1,开关次数始终为0。且不支持显示日和月用电量,该属性在米家APP及hass-xiaomi-miot中均支持
正确显示耗电量及日/月用电量
No response
2024.12.4
null
v0.1.0
The text was updated successfully, but these errors were encountered:
下图为米家APP中显示的用电信息
以下为 hass-xiaomi-miot 关于cuco.plug.v3 日/月用电量的定义
'cuco.plug.v3': { 'sensor_attributes': 'power_cost_today,power_cost_month', 'stat_power_cost_key': '11.1', }, 'cuco.plug.v3:power_cost_today': { **ENERGY_KWH, 'value_ratio': 0.01, }, 'cuco.plug.v3:power_cost_month': { **ENERGY_KWH, 'value_ratio': 0.01, }
Sorry, something went wrong.
同样的问题
似乎官方没有把这种统计放在工作首位,现阶段我看他们一直在修复各种连不上和控制不了的问题。
类似的问题还有 #30 ,PR 也有了 #101 ,但就是没见合并。
我用 HA 除了控制,很多时候就是想看统计,比米家 APP 看起来方便,但统计不出来就很鸡肋。
我看了spec,默认没有日月用电量相关参数,得自己基于累计用电量,结合自定义服务进行计算。另外PR我交了,本地测试单位啥的都正常了,但是部分数据就是不更新,我也交了新的issue。
No branches or pull requests
Describe the bug / 描述问题
cuco.plug.v3 耗电量始终为1,开关次数始终为0。且不支持显示日和月用电量,该属性在米家APP及hass-xiaomi-miot中均支持
To Reproduce / 复现步骤
Expected behavior / 预期结果
正确显示耗电量及日/月用电量
Home Assistant Logs / 系统日志
No response
Home Assistant Core version / Home Assistant Core 版本
2024.12.4
Home Assistant Operation System version / Home Assistant Operation System 版本
null
Xiaomi Home integration version / 米家集成版本
v0.1.0
Additional context / 其他说明
No response
The text was updated successfully, but these errors were encountered: