From 6239ee0bc9a44c8135edc2366790233ec387884d Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 21 Mar 2023 14:51:36 +0100 Subject: [PATCH] Fix unit of measurement micro symbol --- src/apps/plant.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/plant.py b/src/apps/plant.py index d6b3647..0f268ad 100644 --- a/src/apps/plant.py +++ b/src/apps/plant.py @@ -102,7 +102,8 @@ class HAPlant: return ( self.details.get(attribute, {}) .get("attributes", {}) - .get(attribute_name, None) + .get(attribute_name, "") + .replace("ยต", "u") ) def get_plant_status(self, attribute):