Skip to content

Commit 5fd086c

Browse files
committed
Set diagnostic category for SSID sensor
1 parent ffa9296 commit 5fd086c

File tree

1 file changed

+2
-0
lines changed
  • custom_components/smartthinq_sensors

1 file changed

+2
-0
lines changed

custom_components/smartthinq_sensors/sensor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
2121
PERCENTAGE,
2222
STATE_UNAVAILABLE,
23+
EntityCategory,
2324
UnitOfPower,
2425
UnitOfTime,
2526
)
@@ -553,6 +554,7 @@ class ThinQSensorEntityDescription(SensorEntityDescription):
553554
key="ssid",
554555
name="SSID",
555556
icon="mdi:access-point-network",
557+
entity_category=EntityCategory.DIAGNOSTIC,
556558
value_fn=lambda x: x.ssid,
557559
),
558560
)

0 commit comments

Comments
 (0)