From d0ec08f265e2254521d661b8c97763b8d7ca0ae9 Mon Sep 17 00:00:00 2001 From: Simon Berger Date: Sat, 29 May 2021 20:05:27 +0200 Subject: [PATCH] fix weather entity --- custom_components/weatherlink/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/weatherlink/weather.py b/custom_components/weatherlink/weather.py index ead529d..6f5318a 100644 --- a/custom_components/weatherlink/weather.py +++ b/custom_components/weatherlink/weather.py @@ -33,7 +33,7 @@ def temperature(self): @property def temperature_unit(self): - return self.units.temperature.unit_of_measurement + return self.units.temperature.info.unit_of_measurement @property def pressure(self):