Skip to content

Another prepare for a possible evcc API breaking-change (RFC3339 to unix timestamp)

Latest

Choose a tag to compare

@marq24 marq24 released this 01 Aug 20:59

RFC3339 strings might become just unix timestamp integers

With this small release the integration is prepared for a possible (not sure if it ever will come) breaking-change in the evcc API, when all timestamp relevant information like the start/end times in the forecast object might change from RFC3339 to a unix timestamp (in order to reduce the size of the JSON response)

Unfortunately the previous evcc PR was replaced by another one - evcc-io/evcc#32391 - So just another adjustment is required in order to avoid a breaking change.

With this release the integration check the format object or array and then use the appropriate parser - since the attributes in HA are anyhow just time delta's (to reduce the size even more).

Adjustment to notifications for new data (arriving via Websocket)

The Integration will now wait 2 seconds before between two DataUpdateEvent will be processed.

Please consider supporting me

Thanks to those who have already supported me in the past weeks or month that is highly appreciated! To the other users of this integration: I am putting quite an amount of energy and passion into this integration. Perhaps you could give yourself a little push (if you can afford it) and become a sponsor.

GithubSponsor Wero Wise Revolut PayPal BuyMeCoffee Github Stars

If you haven't starred this integration in Github yet - please do so - TIA