Skip to content

Commit 3f44e1d

Browse files
author
Youri Le Cottier
authored
Merge pull request #19 from bamx23/patch-1
Add NSA_RSSI to configured sensors
2 parents ffa44d2 + c289ffc commit 3f44e1d

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

custom_components/ha_zyxel/sensor.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@
107107
"device_class": SensorDeviceClass.SIGNAL_STRENGTH,
108108
"state_class": SensorStateClass.MEASUREMENT
109109
},
110+
"NSA_RSSI": {
111+
"name": "NSA Reference Signal Strength Indicator",
112+
"unit": "dBm",
113+
"icon": "mdi:signal",
114+
"device_class": SensorDeviceClass.SIGNAL_STRENGTH,
115+
"state_class": SensorStateClass.MEASUREMENT
116+
},
110117
"NSA_SINR": {
111118
"name": "NSA Signal-to-Noise Ratio",
112119
"unit": "dB",
@@ -272,4 +279,4 @@ def state(self):
272279
@property
273280
def icon(self):
274281
"""Return the icon."""
275-
return "mdi:router-wireless"
282+
return "mdi:router-wireless"

0 commit comments

Comments
 (0)