Skip to content

Commit

Permalink
Update sensor.py (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
kowi-k authored Nov 19, 2022
1 parent 9ef24dd commit 6b2b50f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/victron/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,19 +339,19 @@
device_class=DEVICE_CLASS_EMPTY,
),
cv.Optional(CONF_DEPTH_OF_THE_DEEPEST_DISCHARGE): sensor.sensor_schema(
unit_of_measurement=UNIT_AMPERE,
unit_of_measurement=UNIT_AMPERE_HOURS,
icon=ICON_CURRENT_AC,
accuracy_decimals=3,
device_class=DEVICE_CLASS_CURRENT,
),
cv.Optional(CONF_DEPTH_OF_THE_LAST_DISCHARGE): sensor.sensor_schema(
unit_of_measurement=UNIT_AMPERE,
unit_of_measurement=UNIT_AMPERE_HOURS,
icon=ICON_CURRENT_AC,
accuracy_decimals=3,
device_class=DEVICE_CLASS_CURRENT,
),
cv.Optional(CONF_DEPTH_OF_THE_AVERAGE_DISCHARGE): sensor.sensor_schema(
unit_of_measurement=UNIT_AMPERE,
unit_of_measurement=UNIT_AMPERE_HOURS,
icon=ICON_CURRENT_AC,
accuracy_decimals=3,
device_class=DEVICE_CLASS_CURRENT,
Expand Down

0 comments on commit 6b2b50f

Please sign in to comment.