8000 Fix set_cold_time payload · python-kasa/python-kasa@a3ee703 · GitHub
[go: up one dir, main page]

Skip to content

Commit a3ee703

Browse files
rytilahtiwhitslack
andauthored
Fix set_cold_time payload
Co-authored-by: Matt Whitlock <whitslack@users.noreply.github.com>
1 parent 78d9616 commit a3ee703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kasa/modules/motion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ async def set_inactivity_timeout(self, timeout: int):
7171
Note, that you need to delete the default rule to avoid reverting this
7272
back to 60 seconds after a period of time.
7373
"""
74-
return await self.call("set_cold_time", timeout)
74+
return await self.call("set_cold_time", {"cold_time": timeout})

0 commit comments

Comments
 (0)
0