Add device and state class to humidity sensor (#97331)
Add device and state class to humidity
This commit is contained in:
parent
f52876c7f6
commit
598e26e481
1 changed files with 2 additions and 1 deletions
|
@ -141,7 +141,8 @@ SENSOR_TYPES: tuple[MeteoFranceSensorEntityDescription, ...] = (
|
|||
key="humidity",
|
||||
name="Humidity",
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
icon="mdi:water-percent",
|
||||
device_class=SensorDeviceClass.HUMIDITY,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
data_path="current_forecast:humidity",
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue