mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 08:07:45 +00:00
Add state class measurement to Freebox temperature sensors (#146074)
This commit is contained in:
parent
1838a731d6
commit
415858119a
@ -84,6 +84,7 @@ async def async_setup_entry(
|
|||||||
name=f"Freebox {sensor_name}",
|
name=f"Freebox {sensor_name}",
|
||||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
for sensor_name in router.sensors_temperature
|
for sensor_name in router.sensors_temperature
|
||||||
|
Loading…
x
Reference in New Issue
Block a user