From 953a1bee51f698172c19557266f3028dadcaf681 Mon Sep 17 00:00:00 2001 From: totalitarian Date: Fri, 17 Sep 2021 22:55:24 +0100 Subject: [PATCH] removed comment --- custom_components/hildebrandglow_dcc/sensor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/custom_components/hildebrandglow_dcc/sensor.py b/custom_components/hildebrandglow_dcc/sensor.py index bb16e2b..9d231c7 100644 --- a/custom_components/hildebrandglow_dcc/sensor.py +++ b/custom_components/hildebrandglow_dcc/sensor.py @@ -128,7 +128,6 @@ def state(self) -> Optional[str]: """Return the state of the sensor.""" if self._state: if self._state["units"] == "pence": - """Convert pence to GBP""" return self._state["data"][0][1] / 100.0 return self._state["data"][0][1]