Changes accuracy of single cell voltage (#3387)

This commit is contained in:
matthias882 2022-04-13 23:36:16 +02:00 committed by GitHub
parent b778eed419
commit b4a86ce6cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,8 @@ CELL_VOLTAGE_SCHEMA = sensor.sensor_schema(
unit_of_measurement=UNIT_VOLT, unit_of_measurement=UNIT_VOLT,
device_class=DEVICE_CLASS_VOLTAGE, device_class=DEVICE_CLASS_VOLTAGE,
state_class=STATE_CLASS_MEASUREMENT, state_class=STATE_CLASS_MEASUREMENT,
icon=ICON_FLASH,
accuracy_decimals=3,
) )
CONFIG_SCHEMA = cv.All( CONFIG_SCHEMA = cv.All(