-
-
Notifications
You must be signed in to change notification settings - Fork 659
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
浦安达单相智能保护开关电量数据为0 #1530
Comments
查了下miot-spec的本身就没有数据,需要使用/v2/user/statistics 这个接口获得数据 |
请提供 |
|
请问这个问题有没有得到解决,我也用的这款断路器 |
另外这边#1451 |
尝试master分支 |
在传感器中没有出现相关的传感器 |
看了代码,明白了,数据是放在switch的属性里面,已经有数据了,Power cost today Power cost month |
建议还是一个sensor好一些,能源的页面就可以直接加入了 |
电压、功率、电流的数据无法更新了 |
Device model / 设备型号
iot.switch.padw2p
Component version / 插件版本
0.7.15
HA core version / HA版本
2024.2.1
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
在miio auto中显示的电量为0,米家app中有数据
Entity attributes / 实体属性
state_class: total_increasing
entity_class: MiotSensorSubEntity
parent_entity_id: switch.iot_padw2p_3856_switch
service_description: Power Consumption
property_description: Power Consumption
updated_time: "2024-02-12T17:13:55.630297+08:00"
power_consumption: 0
unit_of_measurement: Wh
friendly_name: 过欠压电表 Power Consumption
supported_features: 0
Home Assistant Logs / 系统日志
No response
The text was updated successfully, but these errors were encountered: