Skip to content

Commit f77d73e

Browse files
authored
Fixed status message parsing
1 parent 65ed7a2 commit f77d73e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

custom_components/enpal_webparser/switch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def async_update(self):
4141
return
4242

4343
status = status_entity.state.lower()
44-
new_state = status == "loading"
44+
new_state = status == "charging"
4545

4646
if self._pending_state is not None:
4747
if self._pending_state == new_state:

0 commit comments

Comments
 (0)