Skip to content

Commit

Permalink
Fix humidity percentage for Airlink
Browse files Browse the repository at this point in the history
  • Loading branch information
astrandb committed Jan 16, 2024
1 parent bad93fa commit d263d5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/weatherlink/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ class WLSensorDescription(SensorEntityDescription):
key="Hum",
tag=DataKey.HUM,
device_class=SensorDeviceClass.HUMIDITY,
native_unit_of_measurement=PERCENTAGE,
suggested_display_precision=1,
state_class=SensorStateClass.MEASUREMENT,
exclude_api_ver=(ApiVersion.API_V1,),
Expand Down

0 comments on commit d263d5f

Please sign in to comment.