Closed heinemannj closed 4 months ago
I've made a quick and dirty review of your code.
My view:
My conclusion:
Sorry for the noise ...
What is the issue implementing the pricing from Tibber? All you need for PEES to work properly is an sensor providing you with the current price and one with the current sales price. It would be way to ambitious to try to implement and maintain all the various electricity providers pricing models etc. This is IMO better kept outside the PEES package.
I'm with Tibber and living in Germany:
My approach: To be much close to the nameing conventions provided by @wlcrs huawei_solar and all other integrations I needs to synchronize:
It works as visible in above screenshoots!
For sure tons of bugs and a lot of improvement - but I need clear readable and short sensor names for proper debugging on all integration dependencies ...