Skip to content

Please add 'power_cost_today,power_cost_month' to device cuco.plug.co3d #2378

@oimag

Description

@oimag

Device model / 设备型号

cuco.plug.co3d

Component version / 插件版本

1.0.11

HA core version / HA版本

2025.2.4

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

Missing entities 'power_cost_today' and 'power_cost_month' for device cuco.plug.co3d

SPEC
Image

Code added in device_customizes.py
'cuco.plug.co3d': {
'sensor_attributes': 'power_cost_today,power_cost_month',
'stat_power_cost_key': '8.1',
},
'cuco.plug.co3d:power_cost_today': {'value_ratio': 1},
'cuco.plug.co3d:power_cost_month': {'value_ratio': 1},

Image

Working as expected:
Image

Entity attributes / 实体属性

N/A

Home Assistant Logs / 系统日志

N/A

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions