Skip to content

Commit 0129327

Browse files
authored
Refactor docstring for expand_inverter_system_state (#77)
Updated function docstring to clarify its purpose.
1 parent f9e8312 commit 0129327

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • custom_components/enpal_webparser

custom_components/enpal_webparser/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@
5555

5656
def expand_inverter_system_state(group: str, raw_text: str, timestamp_iso: Optional[str]) -> List[Dict[str, Any]]:
5757
"""
58-
Zerlegt den langen 'System State'-String in mehrere, kurze Sensoren.
59-
Nutzt das ISO-Timestamp der Originalzeile.
58+
Builds multiple sensors from 'system_state' binary sensor.
6059
"""
6160
out: List[Dict[str, Any]] = []
6261
m = INV_STATE_RE.search(raw_text or "")

0 commit comments

Comments
 (0)