Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
faanskit committed Jan 23, 2024
1 parent 0a57c6e commit cef1e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/checkwatt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def extract_fcrd_status(cw_inst):
"""Extract status from data and logbook."""

if cw_inst.customer_details is None:
return (None, None, None, None)
return (None, None, None)

pattern = re.compile(
r"\[ FCR-D (ACTIVATED|DEACTIVATE|FAIL ACTIVATION) \](?:.*?(\d+,\d+/\d+,\d+/\d+,\d+ %))?(?:\s*(.*?))?(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})"
Expand Down

0 comments on commit cef1e93

Please sign in to comment.