thomasgermain / pymultiMATIC

Python interface with Vaillant multiMATIC
MIT License
56 stars 11 forks source link

typo in url for urls.emf_report_device #22

Closed jecant closed 4 years ago

jecant commented 4 years ago

I created an url using the urls.emf_report_device, which resulted in the following string:

https://smart.vaillant.com/mobile/api/v4/facilities/{serial_number}/emf/v1/devices/{ID}?**energy_type**=CONSUMED_PRIMARY_ENERGY&function=CENTRAL_HEATING&timeRange=WEEK&start=2019-12-01&offset=2

However, it should be "energyType" instead of "energy_type to prevent getting the 400 error response.

thomasgermain commented 4 years ago

Hi,

thanks for reporting. It should be fixed with version 0.0.11.

Could you confirm ?

Thanks,

Thomas

jecant commented 4 years ago

Fixed! Thanks a lot. Cheers, Jeroen