From 9756131473510d0eb925b6819f54c622bd477952 Mon Sep 17 00:00:00 2001 From: Carlos Cristobal <87995947+sw-carlos-cristobal@users.noreply.github.com> Date: Tue, 14 Feb 2023 14:15:09 -0700 Subject: [PATCH] Replace Fitbit weight SensorStateClass measurement with total (#88118) * Remove SensorStateClass.MEASUREMENT from weight * Using SensorStateClass.TOTAL for weight --- homeassistant/components/fitbit/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/fitbit/const.py b/homeassistant/components/fitbit/const.py index d746e63ca52..8a80ac610f7 100644 --- a/homeassistant/components/fitbit/const.py +++ b/homeassistant/components/fitbit/const.py @@ -220,7 +220,7 @@ FITBIT_RESOURCES_LIST: Final[tuple[FitbitSensorEntityDescription, ...]] = ( name="Weight", unit_type="weight", icon="mdi:human", - state_class=SensorStateClass.MEASUREMENT, + state_class=SensorStateClass.TOTAL, device_class=SensorDeviceClass.WEIGHT, ), FitbitSensorEntityDescription(