Skip to content

Commit 67c757e

Browse files
committed
fix ERA001 Found commented-out code
1 parent 3a7eae0 commit 67c757e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

custom_components/powerocean/ecoflow.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ def get_unit(key: str) -> str | None:
9797
if "Generation" in key:
9898
return "kWh"
9999

100-
# Special case for keys ending with "Temp"
101-
# if key.endswith("Temp"):
102-
# return "°C"
103-
104100
return None # Default if no match found
105101

106102
@staticmethod

0 commit comments

Comments
 (0)