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

❄️ add second power_cost entities for lumi.acpartner.mcn04 #1895

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

wangerry
Copy link
Contributor

lumi.acpartner.mcn04 has 2 sockets, but micloud_statistics only processed 1

so change the config stat_power_cost_key to support keys array for further similar devices.

this change will add power_cost_today/month with suffix _2, _3..., won't change the entity naming for pervious devices.

FYI: I am not very familiar with the code structure, if this pr is not the proper way to achive this, let me know.

image

@wangerry
Copy link
Contributor Author

wangerry commented Oct 19, 2024

This should solve the issue: #1635

@al-one al-one linked an issue Oct 24, 2024 that may be closed by this pull request
@al-one al-one merged commit 6322d4f into al-one:master Oct 24, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

米家 空调伴侣pro 缺失功耗统计的传感器
3 participants