Skip to content

Commit

Permalink
Merge pull request #26 from dolfs/patch-1
Browse files Browse the repository at this point in the history
Update const.py, fixes issue 21
thanks, merging, will also add a new version once this is merged to get it released
  • Loading branch information
krbaker authored Feb 1, 2022
2 parents b0b6e5e + 0005ec9 commit d6e6c7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom_components/sunpower/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

from homeassistant.components.sensor import (
STATE_CLASS_MEASUREMENT,
STATE_CLASS_TOTAL,
STATE_CLASS_TOTAL_INCREASING
)

Expand Down Expand Up @@ -132,15 +133,15 @@
"",
"mdi:alert-circle",
None,
STATE_CLASS_TOTAL_INCREASING
STATE_CLASS_TOTAL
],
"PVS_COMMUNICATION_ERRORS": [
"dl_comm_err",
"Communication Errors",
"",
"mdi:network-off",
None,
STATE_CLASS_TOTAL_INCREASING
STATE_CLASS_TOTAL
],
"PVS_SKIPPED_SCANS": [
"dl_skipped_scans",
Expand Down

0 comments on commit d6e6c7a

Please sign in to comment.