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

Gosund智能排插- cuco.plug.cp5pro 的問題 #936

Open
ericgtx5791 opened this issue Dec 15, 2022 · 2 comments
Open

Gosund智能排插- cuco.plug.cp5pro 的問題 #936

ericgtx5791 opened this issue Dec 15, 2022 · 2 comments

Comments

@ericgtx5791
Copy link

ericgtx5791 commented Dec 15, 2022

Device model / 设备型号

cuco.plug.cp5pro

Component version / 插件版本

0.7.3

HA core version / HA版本

2022.9.7

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

可否幫忙修復 Gosund智能排插CP5 pro 的(當前功率)與(當前電流)的實體?
目前整合此排插(cuco.plug.cp5pro)後
關於電量偵測的6個實體僅有
今日用電量:sensor.cuco_cp5pro_1df0_power_cost_today

本月用電量:sensor.cuco_cp5pro_1df0_power_cost_month
這2個實體正常,
其他的
sensor.cuco_cp5pro_1df0_electric_current(當前電流)
sensor.cuco_cp5pro_1df0_electric_power(當前功率)
sensor.cuco_cp5pro_1df0_power_consumption(累積功率)
sensor.cuco_cp5pro_1df0_voltage(電壓)
這4個實體都是 unavailable.可否修正能有數據?

Entity attributes / 实体属性

sensor.cuco_cp5pro_1df0_electric_current
sensor.cuco_cp5pro_1df0_electric_power
sensor.cuco_cp5pro_1df0_power_consumption
sensor.cuco_cp5pro_1df0_voltage

Home Assistant Logs / 系统日志

4個實體不可用

@alanshu8
Copy link

Same issue, the "electric_power" value was deleted in the recent update, Is there any chance to have it back for power related control ?

@al-one
Copy link
Owner

al-one commented Dec 27, 2022

If the power_consumption property is read by the component, the device will reset it and will not report to Xiaomi Cloud, which makes MiHome APP unable to display the power consumption. You can try these customizations to restore power sensors.

# configuration.yaml
xiaomi_miot:
  device_customizes:
    cuco.plug.cp5pro:
      exclude_miot_services: device_setting,use_ele_alert
      exclude_miot_properties: power_consumption,electric_current,voltage

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

3 participants