Skip to content

set_preconditioning_max#35

Open
NicoNet wants to merge 1 commit intomlowijs:masterfrom
NicoNet:patch-1
Open

set_preconditioning_max#35
NicoNet wants to merge 1 commit intomlowijs:masterfrom
NicoNet:patch-1

Conversation

@NicoNet
Copy link

@NicoNet NicoNet commented Jan 19, 2021

Added commands for turning off/on preconditioning with Max Defrost

Added commands for turning off/on preconditioning with Max Defrost
return await self._vehicle._command("auto_conditioning_stop")

async def start_preconditioning_max(self):
return await self._api_client.post('vehicles/{}/command/set_preconditioning_max'.format(self._vehicle_id),{'on':True})
Copy link
Collaborator

@Dreamsorcerer Dreamsorcerer Jan 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this isn't implemented the same as the surrounding code?
i.e. self._vehicle._command("set_preconditioning_max", {"on": True})

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

Successfully merging this pull request may close these issues.

2 participants