Skip to content

Commit

Permalink
Set diagnostic category for SSID sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
ollo69 committed Oct 20, 2024
1 parent ffa9296 commit 5fd086c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/smartthinq_sensors/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
PERCENTAGE,
STATE_UNAVAILABLE,
EntityCategory,
UnitOfPower,
UnitOfTime,
)
Expand Down Expand Up @@ -553,6 +554,7 @@ class ThinQSensorEntityDescription(SensorEntityDescription):
key="ssid",
name="SSID",
icon="mdi:access-point-network",
entity_category=EntityCategory.DIAGNOSTIC,
value_fn=lambda x: x.ssid,
),
)
Expand Down

0 comments on commit 5fd086c

Please sign in to comment.