mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
Update sensor.py
This commit is contained in:
parent
9fd94be41c
commit
d6840ed1ff
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ CONFIG_SCHEMA = cv.Schema(
|
|||
state_class=STATE_CLASS_MEASUREMENT,
|
||||
),
|
||||
cv.Optional(CONF_TEMPERATURE): sensor.sensor_schema(
|
||||
unit_of_measurement=UNIT_DEGREES,
|
||||
unit_of_measurement=UNIT_CELSIUS,
|
||||
accuracy_decimals=1,
|
||||
device_class=DEVICE_CLASS_TEMPERATURE,
|
||||
state_class=STATE_CLASS_MEASUREMENT,
|
||||
|
|
Loading…
Reference in a new issue