Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

set_temps command not working correctly in downloaded file, but I fixed it on my end #4

@sranta

Description

@sranta

The current vehicle.py file contains this code to set the temperatures in the car:
def set_temps(self, driver, passenger):
p = self._command('set_temps', driver_degC = driver, pasenger_temp = passenger)
return p['result']
This code will not set the temps properly in the car and will always set the temperature to 17C. The code needs to be changed to:
def set_temps(self, driver, passenger):
p = self._command('set_temps', driver_temp = driver, passenger_temp = passenger)
return p['result']
I changed this in my code and it works perfectly now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions