kpoppel / eforsyning-api

Use eforsyning.dk API services outside their web-apps.
13 stars 0 forks source link

Budget #2

Open peternt2 opened 11 months ago

peternt2 commented 11 months ago

Great work! Is it possible to get the budget values too? I can calculate those, but it would be way easier if they were available in Hass too.

Budget

Peter

kpoppel commented 10 months ago

Thanks for the praise. When you think of budget values, which ones exactly? There are actual and budget for energy use as you have found already I see. For others coming across this comment, they are: "Energy total use" and "Energy use prognosis".

For the monetary amounts these are in attributes in the sensor "amount remaining". It is possible to make a template sensor which registers this attribute as a sensor if you want the history retained. It might be possible to use the attribute value directly with a custom button card.

Can you share the code/images for the picture above. It could be cool to get this into the readme file.