Changes accuracy of single cell voltage (#3387)

This commit is contained in:
matthias882 2022-04-13 23:36:16 +02:00 committed by Jesse Hills
parent a82d8ea0c3
commit c59adf612f
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

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(