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

建议完善并显示空开和插座等设备的用电量实体等各种状态 #454

Open
shangtian53 opened this issue Dec 25, 2024 · 3 comments

Comments

@shangtian53
Copy link

Describe the Bug / 描述问题

建议完善并显示空开和插座等设备的用电量实体等各种状态

How to Reproduce / 复现步骤

建议完善并显示空开和插座等设备的用电量实体等各种状态

Expected Behavior / 预期结果

建议完善并显示空开和插座等设备的用电量实体等各种状态

Home Assistant Logs / 系统日志

No response

Home Assistant Core Version / Home Assistant Core 版本

2024.11.10

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

13.0

Xiaomi Home Integration Version / 米家集成版本

v0.1.4b1

Additional Context / 其他说明

微信截图_20241225161636
微信截图_20241225161649

@topsworld topsworld self-assigned this Dec 25, 2024
@mx82705
Copy link

mx82705 commented Dec 30, 2024

单位也有问题,不能选择

@topsworld topsworld removed their assignment Jan 24, 2025
@Wizard-one
Copy link

Wizard-one commented Jan 28, 2025

电量相关entity没有设置 device_class, state_class 导致无法在 energy中找到电量统计 entities 参见

Image

当前设置

unit_of_measurement: W
icon: mdi:flash-triangle
friendly_name: 功率

xiaomi_miot 设置

restored: true
state_class: measurement
device_class: power
friendly_name:  power
supported_features: 0
unit_of_measurement: W

@xiaoyao9184
Copy link

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

5 participants