mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 07:28:10 +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,
|
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