From dfdd8c9afc92030fea44fc7de9626b446f636524 Mon Sep 17 00:00:00 2001 From: Alexander Rey Date: Tue, 20 Aug 2024 15:28:19 -0400 Subject: [PATCH] Fix accumulations previously fixed #285 --- custom_components/pirateweather/sensor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom_components/pirateweather/sensor.py b/custom_components/pirateweather/sensor.py index 06bc694..04c3d37 100644 --- a/custom_components/pirateweather/sensor.py +++ b/custom_components/pirateweather/sensor.py @@ -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