Skip to content

Commit

Permalink
Fix #19, totals shown as a rate.
Browse files Browse the repository at this point in the history
  • Loading branch information
garbled1 committed Nov 12, 2020
1 parent 81641f2 commit 51e1409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/ecowitt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
TYPE_SENSOR, None, "mdi:water", S_IMPERIAL),
TYPE_HOURLYRAININ: ("Hourly Rain Rate", f"{LENGTH_INCHES}/{TIME_HOURS}",
TYPE_SENSOR, None, "mdi:water", S_IMPERIAL),
TYPE_TOTALRAININ: ("Total Rain Rate", f"{LENGTH_INCHES}/{TIME_HOURS}",
TYPE_TOTALRAININ: ("Total Rain Rate", f"{LENGTH_INCHES}",
TYPE_SENSOR, None, "mdi:water", S_IMPERIAL),
TYPE_DAILYRAININ: ("Daily Rain Rate", f"{LENGTH_INCHES}/{TIME_DAYS}",
TYPE_SENSOR, None, "mdi:water", S_IMPERIAL),
Expand All @@ -227,7 +227,7 @@
TYPE_SENSOR, None, "mdi:water", S_METRIC),
TYPE_HOURLYRAINMM: ("Hourly Rain Rate", f"mm/{TIME_HOURS}",
TYPE_SENSOR, None, "mdi:water", S_METRIC),
TYPE_TOTALRAINMM: ("Total Rain Rate", f"mm/{TIME_HOURS}",
TYPE_TOTALRAINMM: ("Total Rain Rate", f"mm",
TYPE_SENSOR, None, "mdi:water", S_METRIC),
TYPE_DAILYRAINMM: ("Daily Rain Rate", f"mm/{TIME_DAYS}",
TYPE_SENSOR, None, "mdi:water", S_METRIC),
Expand Down

0 comments on commit 51e1409

Please sign in to comment.