Skip to content

Commit d7d4545

Browse files
committed
Remove unused regexes
1 parent 184d6da commit d7d4545

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

aiohasupervisor/store.py

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

3-
import re
4-
53
from .client import _SupervisorComponentClient
64
from .const import ResponseType
75
from .models.addons import (
@@ -14,19 +12,6 @@
1412
StoreInfo,
1513
)
1614

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

3116
class StoreClient(_SupervisorComponentClient):
3217
"""Handles store access in Supervisor."""

0 commit comments

Comments
 (0)