Skip to content

Commit

Permalink
Fix accumulations previously fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander0042 committed Aug 20, 2024
1 parent 56a9fbd commit dfdd8c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/pirateweather/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1097,6 +1097,9 @@ def get_state(self, data):
if self.requestUnits in ["us"]:
if self.type in [
"precip_accumulation",
"liquid_accumulation",
"snow_accumulation",
"ice_accumulation",
]:
state = state * 0.0393701

Expand Down

0 comments on commit dfdd8c9

Please sign in to comment.