Add state class measurement to Freebox temperature sensors (#146074)

This commit is contained in:
SNoof85 2025-06-03 11:23:52 +02:00 committed by GitHub
parent 8afec8ada9
commit 842e7ce171
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,6 +84,7 @@ async def async_setup_entry(
name=f"Freebox {sensor_name}",
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
device_class=SensorDeviceClass.TEMPERATURE,
state_class=SensorStateClass.MEASUREMENT,
),
)
for sensor_name in router.sensors_temperature