mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +00:00
Correct typos in smartdevice.py (#358)
This commit is contained in:
parent
57fac9a156
commit
7aebef56ca
@ -128,7 +128,7 @@ class SmartDevice:
|
||||
>>> dev.mac
|
||||
50:C7:BF:01:F8:CD
|
||||
|
||||
Some information can also be changed programatically:
|
||||
Some information can also be changed programmatically:
|
||||
|
||||
>>> asyncio.run(dev.set_alias("new alias"))
|
||||
>>> asyncio.run(dev.set_mac("01:23:45:67:89:ab"))
|
||||
@ -433,7 +433,7 @@ class SmartDevice:
|
||||
@property # type: ignore
|
||||
@requires_update
|
||||
def rssi(self) -> Optional[int]:
|
||||
"""Return WiFi signal strenth (rssi)."""
|
||||
"""Return WiFi signal strength (rssi)."""
|
||||
rssi = self.sys_info.get("rssi")
|
||||
return None if rssi is None else int(rssi)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user