Skip to content

Commit

Permalink
fix: change usage_session to TOTAL_INCREASING (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 authored Mar 15, 2023
1 parent bd2b5e3 commit 6135e31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/openevse/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
key="usage_session",
name="Usage this Session",
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
state_class=SensorStateClass.TOTAL,
state_class=SensorStateClass.TOTAL_INCREASING,
device_class=SensorDeviceClass.ENERGY,
),
"usage_total": SensorEntityDescription(
Expand Down
2 changes: 1 addition & 1 deletion custom_components/openevse/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"documentation": "https://github.com/firstof9/openevse/",
"iot_class": "local_push",
"issue_tracker": "https://github.com/firstof9/openevse/issues",
"requirements": ["python-openevse-http==0.1.45"],
"requirements": ["python-openevse-http==0.1.46"],
"version": "0.0.0-dev",
"zeroconf": ["_openevse._tcp.local."]
}

0 comments on commit 6135e31

Please sign in to comment.