diff --git a/custom_components/pirateweather/sensor.py b/custom_components/pirateweather/sensor.py index b9da5a0..88b11b0 100644 --- a/custom_components/pirateweather/sensor.py +++ b/custom_components/pirateweather/sensor.py @@ -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",