ad-ha / mg-saic-ha

MG SAIC Custom Integration for Home Assistant
MIT License
5 stars 0 forks source link

Refresh Service #23

Closed eximo84 closed 1 day ago

eximo84 commented 2 days ago

Hey, just wondering if there is a way to implmenet a refresh, i appreicate there is a default refresh time of 7200 minutes but i have an automation which triggers when my pod point charger is connected to the car.

At this point it would be great to have the MG integration poll for the latest information, that way i can ensure the car is also showing connected and ready for charging etc...

ad-ha commented 2 days ago

Hi @eximo84

Sure, I already had that in mind as well (very similar use case). It shall be pretty straight forward to get working, so let me find sometime this week to get it done and I will release a new update with that change.

I may also include a button to directly call the update service.

Cheers

ad-ha commented 1 day ago

Hi @eximo84

So I had a moment to get this done and implemented. You have the new service and button on release 0.4.5 (https://github.com/ad-ha/mg-saic-ha/releases/tag/0.4.5)

Let me know if it all works fine.

Cheers

eximo84 commented 1 day ago

Wow amazing. Updated, I haven't pressed the button yet but will test it later. Thank you 🙏🏼