mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-06 10:44:04 +00:00
Fix test framework running against real devices (#1235)
This commit is contained in:
@@ -455,6 +455,12 @@ class IotDevice(Device):
|
||||
sys_info = self._sys_info
|
||||
return str(sys_info["model"])
|
||||
|
||||
@property
|
||||
@requires_update
|
||||
def _model_region(self) -> str:
|
||||
"""Return device full model name and region."""
|
||||
return self.model
|
||||
|
||||
@property # type: ignore
|
||||
def alias(self) -> str | None:
|
||||
"""Return device name (alias)."""
|
||||
|
Reference in New Issue
Block a user