Skip to content

Commit 1843918

Browse files
committed
Correct typing hint
1 parent b848bf1 commit 1843918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def types_finder(data) -> set:
143143
return types
144144

145145

146-
def power_data_local_format(attrs, key_string, val) -> float | int | str:
146+
def power_data_local_format(attrs, key_string, val) -> float | int | bool:
147147
"""Format power data."""
148148
f_val = format_measure(val, attrs[ATTR_UNIT_OF_MEASUREMENT])
149149
# Format only HOME_MEASUREMENT POWER_WATT values, do not move to util-format_meaure function!

0 commit comments

Comments
 (0)