Skip to content

Commit

Permalink
Fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
robbinjanssen committed Jan 28, 2023
1 parent 9d5403b commit 34de3a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ojmicroline_thermostat/ojmicroline.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ async def set_regulation_mode(
resource: The Thermostat model or the serial number of
the thermostat to update.
regulation_mode: The mode to set the thermostat to.
temperature: The temperature to set or None.
duration: The duration in minutes to set the temperature
for (comfort mode only), defaults to 4 hours.
temperature: The temperature to set or None.
Returns:
True if it succeeded.
Expand All @@ -245,8 +245,8 @@ async def set_regulation_mode(
params={"sessionid": self.__session_id},
body=request.update_regulation_mode(
regulation_mode=regulation_mode,
duration=duration,
temperature=temperature,
duration=duration,
),
)

Expand Down

0 comments on commit 34de3a5

Please sign in to comment.