Skip to content

set_preconditioning_max#35

Open
NicoNet wants to merge 1 commit into
mlowijs:masterfrom
NicoNet:patch-1
Open

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

Conversation

@NicoNet

@NicoNet NicoNet commented Jan 19, 2021

Copy link
Copy Markdown

Added commands for turning off/on preconditioning with Max Defrost

Added commands for turning off/on preconditioning with Max Defrost
Comment thread tesla_api/climate.py
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})

@Dreamsorcerer Dreamsorcerer Jan 20, 2021

Copy link
Copy Markdown
Collaborator

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