mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-08 22:07:06 +00:00
Add rssi for smartdevices
This commit is contained in:
parent
f0f1e478c4
commit
72372fb254
@ -141,6 +141,14 @@ class SmartDevice(Device):
|
||||
icon="mdi:signal",
|
||||
)
|
||||
)
|
||||
self.add_descriptor(
|
||||
Descriptor(
|
||||
self,
|
||||
"RSSI",
|
||||
attribute_getter=lambda x: x._info["rssi"],
|
||||
icon="mdi:signal",
|
||||
)
|
||||
)
|
||||
self.add_descriptor(
|
||||
Descriptor(
|
||||
device=self, name="Time", attribute_getter="time", show_in_hass=False
|
||||
|
Loading…
Reference in New Issue
Block a user