Skip to content

Commit 208a2ad

Browse files
committed
Fix tinker_legacy_thermostat_temp()
1 parent 749ed02 commit 208a2ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_init.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,10 +691,10 @@ async def tinker_legacy_thermostat_temp(self, smile, unhappy=False):
691691
"""Toggle temperature to test functionality."""
692692
_LOGGER.info("Assert modifying temperature setpoint")
693693
tinker_temp_passed = False
694-
test_temp = 22.9
694+
test_temp = {"setpoint": 22.9}
695695
_LOGGER.info("- Adjusting temperature to %s", test_temp)
696696
try:
697-
await smile.set_temperature(test_temp, None)
697+
await smile.set_temperature("dummy", test_temp)
698698
_LOGGER.info(" + worked as intended")
699699
tinker_temp_passed = True
700700
except (

0 commit comments

Comments
 (0)