mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
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
@ -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…
x
Reference in New Issue
Block a user