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

Error when switching on Heater, possibly due to region restriction #98

Open
jampez77 opened this issue Oct 30, 2023 · 0 comments
Open

Comments

@jampez77
Copy link

I'm in the UK and have a 2019 S90.

I use Home Assistant to access my VoC info, which of course uses this library.

The car dashboard has parking climate enabled however it doesn't work. Having spoken to Volvo last week after the car went in for it's annual service they told me that the feature is actually restricted to US and Scandinavian regions. There is a bug with the cars software that means feature is active but produces an error when used.

I can see in the code that heater is used in favour of preclimatization . The problem for me and car like mine is that is_remote_heater_supported incorrectly reports true. So i was wondering if there is a way to add a region condition to is_remote_heater_supported or expose preclimatization as well as heater

    async def start_heater(self):
        """Turn on/off heater."""
        if self.is_remote_heater_supported:
            await self.call("heater/start")
            await self.update()
        elif self.is_preclimatization_supported:
            await self.call("preclimatization/start")
            await self.update()
        else:
            _LOGGER.warning("No heater or preclimatization support.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant