Skip to content

Commit

Permalink
Update sensor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wozz authored Dec 22, 2023
1 parent b25f8b8 commit 5a56486
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 @@ -164,21 +164,21 @@
unit_of_measurement=UNIT_WATT_HOURS,
icon=ICON_POWER,
accuracy_decimals=0,
device_class=DEVICE_CLASS_POWER,
device_class=DEVICE_CLASS_ENERGY,
state_class=STATE_CLASS_TOTAL_INCREASING,
),
cv.Optional(CONF_YIELD_YESTERDAY): sensor.sensor_schema(
unit_of_measurement=UNIT_WATT_HOURS,
icon=ICON_POWER,
accuracy_decimals=0,
device_class=DEVICE_CLASS_POWER,
device_class=DEVICE_CLASS_ENERGY,
state_class=STATE_CLASS_TOTAL_INCREASING,
),
cv.Optional(CONF_YIELD_TODAY): sensor.sensor_schema(
unit_of_measurement=UNIT_WATT_HOURS,
icon=ICON_POWER,
accuracy_decimals=0,
device_class=DEVICE_CLASS_POWER,
device_class=DEVICE_CLASS_ENERGY,
state_class=STATE_CLASS_TOTAL_INCREASING,
),
cv.Optional(CONF_PANEL_VOLTAGE): sensor.sensor_schema(
Expand Down

0 comments on commit 5a56486

Please sign in to comment.