Skip to content

Commit 3ca2c2d

Browse files
committed
Update current_option typing
1 parent d251e0d commit 3ca2c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/plugwise/select.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def __init__(
132132
self._location = location
133133

134134
@property
135-
def current_option(self) -> str:
135+
def current_option(self) -> str| None:
136136
"""Return the selected entity option to represent the entity state."""
137137
return self.device[self.entity_description.key]
138138

0 commit comments

Comments
 (0)