From a137c68488e809b1595d8c3912fd7536565fbc1e Mon Sep 17 00:00:00 2001 From: t0urista Date: Wed, 30 Oct 2024 10:22:29 +0100 Subject: [PATCH] Update sensor.py --- esphome/components/bthome/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/bthome/sensor.py b/esphome/components/bthome/sensor.py index 0bc0e0356c..b4007393c3 100644 --- a/esphome/components/bthome/sensor.py +++ b/esphome/components/bthome/sensor.py @@ -54,7 +54,7 @@ CONFIG_SCHEMA = cv.Schema( ), cv.Optional(CONF_TEMPERATURE): sensor.sensor_schema( unit_of_measurement=UNIT_DEGREES, - accuracy_decimals=2, + accuracy_decimals=1, device_class=DEVICE_CLASS_TEMPERATURE, state_class=STATE_CLASS_MEASUREMENT, ),