Fix unit of measurement micro symbol

This commit is contained in:
Gabriel Augendre 2023-03-21 14:51:36 +01:00
parent 063ca7f8ab
commit 6239ee0bc9

View file

@ -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):