kpoppel / eforsyning-api

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

Use daterange #3

Open frederiktvede opened 6 months ago

frederiktvede commented 6 months ago

Hi,

Thanks for providing this code!

In the code the retrieve_meter_data only retrieve current data for the year given. How is it possible to enable date range? So I collect data from date X to today?

kpoppel commented 6 months ago

It's been a while since I updated this repository. But take a look here at a much updated file: https://github.com/kpoppel/homeassistant-eforsyning/tree/main/custom_components/eforsyning/pyeforsyning

Perhaps it will work for you?