mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Changes accuracy of single cell voltage (#3387)
This commit is contained in:
parent
a82d8ea0c3
commit
c59adf612f
1 changed files with 2 additions and 0 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue