Skip to content

Commit a357411

Browse files
committed
Remove unused regexes
1 parent f7c61b1 commit a357411

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

aiohasupervisor/store.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Store client for supervisor."""
22

3-
import re
43
from typing import Any
54

65
from .client import _SupervisorComponentClient
@@ -16,19 +15,6 @@
1615
StoreInfo,
1716
)
1817

19-
RE_ADDON_UNAVAILABLE_ARCHITECTURE = re.compile(
20-
r"^Add\-on (?P<addon>\w+) not supported on this platform, "
21-
r"supported architectures: (?P<architectures>.*)$"
22-
)
23-
RE_ADDON_UNAVAILABLE_MACHINE_TYPE = re.compile(
24-
r"^Add\-on (?P<addon>\w+) not supported on this machine, "
25-
r"supported machine types: (?P<machine_types>.*)$"
26-
)
27-
RE_ADDON_UNAVAILABLE_HOME_ASSISTANT = re.compile(
28-
r"^Add\-on (?P<addon>\w+) not supported on this system, "
29-
r"requires Home Assistant version (?P<version>\S+) or greater$"
30-
)
31-
3218

3319
class StoreClient(_SupervisorComponentClient):
3420
"""Handles store access in Supervisor."""

0 commit comments

Comments
 (0)