mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
Fix typo in deprecated method call
This commit is contained in:
parent
8bfddbdd71
commit
8f2aab87d7
@ -612,7 +612,7 @@ class Device(ABC):
|
||||
warn(msg, DeprecationWarning, stacklevel=2)
|
||||
return self.device_type == dep_device_type_attr[1]
|
||||
# callable
|
||||
if result := self._get_deprecated_callable_attributes(name) is not None:
|
||||
if (result := self._get_deprecated_callable_attribute(name)) is not None:
|
||||
return result
|
||||
# Other deprecated attributes
|
||||
if (dep_attr := self._deprecated_other_attributes.get(name)) and (
|
||||
|
Loading…
Reference in New Issue
Block a user