Closed RiANOl closed 1 year ago
One option is to not use energy device class as the monthly power consumption is not a real-time energy measurement. We accept a PR fixing it.
Edited: if None can be used for the state class then we just use None.
Maybe it could only return the current month value to avoid month selection?
The design for it is to let users check history power consumption like what you can do in the official app, so returning the current month’s value only departs from the design.
Hey, would you mind proposing a PR fixing this? otherwise this issue will end up be closed by the stale bot.
We can try specifying None
to the state class as the first step.
Sounds great. Let me do it.
Get the warning from logs.
Wondering if there is suitable solution for monthly power comsumption? Maybe it could only return the current month value to avoid month selection?