mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-07 19:24:01 +00:00
Enable ruff check for ANN (#1139)
This commit is contained in:
@@ -23,7 +23,7 @@ class FrostProtection(SmartModule):
|
||||
"""Return True if frost protection is on."""
|
||||
return self._device.sys_info["frost_protection_on"]
|
||||
|
||||
async def set_enabled(self, enable: bool):
|
||||
async def set_enabled(self, enable: bool) -> dict:
|
||||
"""Enable/disable frost protection."""
|
||||
return await self.call(
|
||||
"set_device_info",
|
||||
|
Reference in New Issue
Block a user