Skip to content

Commit

Permalink
removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-BS-AMS committed Sep 17, 2021
1 parent 76dc6ea commit 953a1be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/hildebrandglow_dcc/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 953a1be

Please sign in to comment.