mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01:00
Changes accuracy of single cell voltage (#3387)
This commit is contained in:
parent
b778eed419
commit
b4a86ce6cf
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,8 @@ CELL_VOLTAGE_SCHEMA = sensor.sensor_schema(
|
|||
unit_of_measurement=UNIT_VOLT,
|
||||
device_class=DEVICE_CLASS_VOLTAGE,
|
||||
state_class=STATE_CLASS_MEASUREMENT,
|
||||
icon=ICON_FLASH,
|
||||
accuracy_decimals=3,
|
||||
)
|
||||
|
||||
CONFIG_SCHEMA = cv.All(
|
||||
|
|
Loading…
Reference in a new issue