Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ] Set Units During Setup #84

Open
1 task
eximo84 opened this issue Jan 4, 2025 · 4 comments
Open
1 task

[REQ] Set Units During Setup #84

eximo84 opened this issue Jan 4, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@eximo84
Copy link

eximo84 commented Jan 4, 2025

Is your feature request related to a problem?

  • Yes

Please describe the problem

When setting up the integration some values default to metric such as mileage. I have to change these from KM to Miles each time.

Describe the solution you'd like

Would be nice to have this set or follow my preferences based on my location during install of the integration.

Describe alternatives you've considered

Nothing. Manually set these now.

Additional context

Appreciate your support on this integration 👍🏼

@eximo84 eximo84 added the enhancement New feature or request label Jan 4, 2025
@ad-ha
Copy link
Owner

ad-ha commented Jan 6, 2025

Hi @eximo84

So, by default, to make things easier for everyone, I defined every unit to be metric. You may adjust those manually on HA, for each sensor, and define which ones you want.

As far as I know, you should not need to be making any more changes after, even between upgrades. But can you elaborate on why you need to manually set those every time?

Any how, let me see if I can find a workaround to get this set for user/system defaults.

@eximo84
Copy link
Author

eximo84 commented Jan 7, 2025

Sometimes the integration and api loose connection and no amount of reloads fixes it. Usually remove and setup the integration and it works however I've then got to update the relevant values to make it match my preferences.

@ad-ha
Copy link
Owner

ad-ha commented Jan 7, 2025

That's quite strange. My own production setup has been quite sound for several weeks.

Do you experience a similar behavior with the iSmart app? Being hard to get data updates?

You should not need to remove the integration and get it re-added for everything to work. The connection principle is the same, both adding and updates use the same methods and connections... So I see no reason for it to work differently.

@cliver1956
Copy link

Just to add, I have the same issue as @eximo84 in that it sometimes goes unavailable and I have to reload or re-install to get it working again. The iSmart app seems to get data while the integration doesn't. Today the only way I could get it back up was to delete the secondary account in iSamart and reinstall using the new account.
It's discussed on the HA Forum here.. [https://community.home-assistant.io/t/mg-saic-custom-integration/754590/88?u=cliver]
I too would like to be able to set imperial measurements on install if possible (I know, we Brits are awkward ;) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants