Skip to content

Commit

Permalink
Change if statement to elif
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneofghosts authored Feb 14, 2024
1 parent 3ac1490 commit b4671f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/pirateweather/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ def get_state(self, data):
else:
outState = round(state, roundingVal)

if self.type in [
elif self.type in [
"precip_accumulation",
"precip_intensity",
"precip_intensity_max",
Expand Down

0 comments on commit b4671f7

Please sign in to comment.