HomeAssistant-API 3.0.3.post1__py3-none-any.whl → 3.0.3.post3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- homeassistant_api/__init__.py +19 -1
- homeassistant_api/_async/__init__.py +9 -0
- homeassistant_api/_async/asyncclient.py +14 -8
- homeassistant_api/_async/models/__init__.py +2 -0
- homeassistant_api/_async/models/domains.py +1 -1
- homeassistant_api/_async/models/entity.py +1 -1
- homeassistant_api/errors.py +3 -3
- homeassistant_api/models/__init__.py +11 -0
- homeassistant_api/models/domains.py +1 -1
- homeassistant_api/models/entity.py +4 -4
- homeassistant_api/processing.py +15 -8
- homeassistant_api/rawapi.py +4 -4
- homeassistant_api/rawclient.py +9 -3
- {homeassistant_api-3.0.3.post1.dist-info → homeassistant_api-3.0.3.post3.dist-info}/METADATA +1 -1
- homeassistant_api-3.0.3.post3.dist-info/RECORD +27 -0
- homeassistant_api-3.0.3.post1.dist-info/RECORD +0 -27
- {homeassistant_api-3.0.3.post1.dist-info → homeassistant_api-3.0.3.post3.dist-info}/LICENSE +0 -0
- {homeassistant_api-3.0.3.post1.dist-info → homeassistant_api-3.0.3.post3.dist-info}/WHEEL +0 -0
homeassistant_api/__init__.py
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
"""Imports all library stuff for convenience."""
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
__all__ = (
|
|
5
|
+
"State",
|
|
6
|
+
"Service",
|
|
7
|
+
"History",
|
|
8
|
+
"Group",
|
|
9
|
+
"Event",
|
|
10
|
+
"Entity",
|
|
11
|
+
"Domain",
|
|
12
|
+
"AsyncService",
|
|
13
|
+
"AsyncGroup",
|
|
14
|
+
"AsyncEvent",
|
|
15
|
+
"AsyncEntity",
|
|
16
|
+
"AsyncDomain",
|
|
17
|
+
"LogbookEntry",
|
|
18
|
+
)
|
|
19
|
+
|
|
2
20
|
from ._async import AsyncDomain, AsyncEntity, AsyncEvent, AsyncGroup, AsyncService
|
|
3
21
|
from .client import Client
|
|
4
22
|
from .errors import (
|
|
@@ -13,7 +31,7 @@ from .errors import (
|
|
|
13
31
|
UnauthorizedError,
|
|
14
32
|
UnexpectedStatusCodeError,
|
|
15
33
|
)
|
|
16
|
-
from .models import Domain, Entity, Event, Group, History, Service, State
|
|
34
|
+
from .models import Domain, Entity, Event, Group, History, LogbookEntry, Service, State
|
|
17
35
|
from .processing import Processing
|
|
18
36
|
|
|
19
37
|
Domain.update_forward_refs(**locals())
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
"""Imports objects from the async sub-module for convenience."""
|
|
2
2
|
from .asyncclient import RawAsyncClient
|
|
3
3
|
from .models import AsyncDomain, AsyncEntity, AsyncEvent, AsyncGroup, AsyncService
|
|
4
|
+
|
|
5
|
+
__all__ = (
|
|
6
|
+
"RawAsyncClient",
|
|
7
|
+
"AsyncDomain",
|
|
8
|
+
"AsyncEntity",
|
|
9
|
+
"AsyncEvent",
|
|
10
|
+
"AsyncGroup",
|
|
11
|
+
"AsyncService",
|
|
12
|
+
)
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"""Module for interacting with Home Assistant asyncronously."""
|
|
2
2
|
import asyncio
|
|
3
|
-
|
|
3
|
+
import logging
|
|
4
4
|
from typing import Any, AsyncGenerator, Dict, List, Optional, Tuple, Union, cast
|
|
5
|
+
from urllib.parse import urljoin as join
|
|
5
6
|
|
|
6
7
|
import aiohttp
|
|
7
8
|
from aiohttp_client_cache import CachedSession
|
|
@@ -13,6 +14,8 @@ from ..processing import Processing
|
|
|
13
14
|
from ..rawapi import RawWrapper
|
|
14
15
|
from .models import AsyncEntity, AsyncGroup
|
|
15
16
|
|
|
17
|
+
logger = logging.getLogger(__name__)
|
|
18
|
+
|
|
16
19
|
|
|
17
20
|
class RawAsyncClient(RawWrapper, JsonProcessingMixin):
|
|
18
21
|
"""
|
|
@@ -26,7 +29,10 @@ class RawAsyncClient(RawWrapper, JsonProcessingMixin):
|
|
|
26
29
|
_async_session: Optional[CachedSession] = None
|
|
27
30
|
|
|
28
31
|
async def __aenter__(self):
|
|
29
|
-
self._async_session = CachedSession(
|
|
32
|
+
self._async_session = CachedSession(
|
|
33
|
+
expire_after=self.cache_expire_after, cache=self.cache_backend
|
|
34
|
+
)
|
|
35
|
+
logger.debug(f"Entering cached requests session {self._async_session!r}")
|
|
30
36
|
await self._async_session.__aenter__()
|
|
31
37
|
await self.async_check_api_running()
|
|
32
38
|
return self
|
|
@@ -68,7 +74,7 @@ class RawAsyncClient(RawWrapper, JsonProcessingMixin):
|
|
|
68
74
|
) from err
|
|
69
75
|
|
|
70
76
|
@staticmethod
|
|
71
|
-
async def async_response_logic(response):
|
|
77
|
+
async def async_response_logic(response) -> Any:
|
|
72
78
|
"""Processes custom mimetype content asyncronously."""
|
|
73
79
|
return await Processing(response=response).process()
|
|
74
80
|
|
|
@@ -175,9 +181,9 @@ class RawAsyncClient(RawWrapper, JsonProcessingMixin):
|
|
|
175
181
|
f"Neither group and slug or entity_id provided. {help_msg}"
|
|
176
182
|
)
|
|
177
183
|
group_id, entity_slug = state.entity_id.split(".")
|
|
178
|
-
group = AsyncGroup(group_id=
|
|
179
|
-
group.add_entity(
|
|
180
|
-
return group.get_entity(
|
|
184
|
+
group = AsyncGroup(group_id=group_id, client=self)
|
|
185
|
+
group.add_entity(entity_slug, state)
|
|
186
|
+
return group.get_entity(entity_slug)
|
|
181
187
|
|
|
182
188
|
# Services and domain methods
|
|
183
189
|
async def async_get_domains(self) -> Tuple[Domain, ...]:
|
|
@@ -193,11 +199,11 @@ class RawAsyncClient(RawWrapper, JsonProcessingMixin):
|
|
|
193
199
|
self,
|
|
194
200
|
domain: str,
|
|
195
201
|
service: str,
|
|
196
|
-
**service_data,
|
|
202
|
+
**service_data: Union[Dict[str, Any], List[Any], str],
|
|
197
203
|
) -> List[State]:
|
|
198
204
|
"""Tells Home Assistant to trigger a service, returns stats changed while being called"""
|
|
199
205
|
data = await self.async_request(
|
|
200
|
-
|
|
206
|
+
f"services/{domain}/{service}",
|
|
201
207
|
method="POST",
|
|
202
208
|
json=service_data,
|
|
203
209
|
)
|
|
@@ -32,7 +32,7 @@ class AsyncDomain(BaseModel):
|
|
|
32
32
|
|
|
33
33
|
def get_service(self, service_id: str):
|
|
34
34
|
"""Return a Service with the given service_id, returns None if no such service exists"""
|
|
35
|
-
return self.services.get(service_id
|
|
35
|
+
return self.services.get(service_id)
|
|
36
36
|
|
|
37
37
|
def __getattr__(self, attr: str):
|
|
38
38
|
"""Allows services accessible as attributes"""
|
homeassistant_api/errors.py
CHANGED
|
@@ -8,7 +8,7 @@ class HomeassistantAPIError(BaseException):
|
|
|
8
8
|
class RequestError(HomeassistantAPIError):
|
|
9
9
|
"""Error raised when an issue occurs when requesting to Homeassistant."""
|
|
10
10
|
|
|
11
|
-
def __init__(self, body: str):
|
|
11
|
+
def __init__(self, body: str) -> None:
|
|
12
12
|
super().__init__(f"Bad Request: {body}")
|
|
13
13
|
|
|
14
14
|
|
|
@@ -31,7 +31,7 @@ class ParameterMissingError(HomeassistantAPIError):
|
|
|
31
31
|
class UnexpectedStatusCodeError(HomeassistantAPIError):
|
|
32
32
|
"""Error raised when Home Assistant returns a response with status code that was unexpected."""
|
|
33
33
|
|
|
34
|
-
def __init__(self, code: int, content):
|
|
34
|
+
def __init__(self, code: int, content) -> None:
|
|
35
35
|
super().__init__(
|
|
36
36
|
f"Home Assistant return response with an unrecognized status code {code!r}.\n{content}"
|
|
37
37
|
)
|
|
@@ -54,7 +54,7 @@ class EndpointNotFoundError(HomeassistantAPIError):
|
|
|
54
54
|
class MethodNotAllowedError(HomeassistantAPIError):
|
|
55
55
|
"""Error raised when a request is made to an endpoint with a non-allowed method."""
|
|
56
56
|
|
|
57
|
-
def __init__(self, method: str):
|
|
57
|
+
def __init__(self, method: str) -> None:
|
|
58
58
|
super().__init__(f"Request made with invalid method {method!r}")
|
|
59
59
|
|
|
60
60
|
|
|
@@ -31,7 +31,7 @@ class Domain(BaseModel):
|
|
|
31
31
|
|
|
32
32
|
def get_service(self, service_id: str):
|
|
33
33
|
"""Return a Service with the given service_id, returns None if no such service exists"""
|
|
34
|
-
return self.services.get(service_id
|
|
34
|
+
return self.services.get(service_id)
|
|
35
35
|
|
|
36
36
|
def __getattr__(self, attr: str):
|
|
37
37
|
"""Allows services accessible as attributes"""
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Module for Entity and entity Group data models"""
|
|
2
2
|
|
|
3
|
-
from os.path import join
|
|
4
3
|
from typing import TYPE_CHECKING, Any, Dict, Optional, cast
|
|
4
|
+
from urllib.parse import urljoin as join
|
|
5
5
|
|
|
6
6
|
from pydantic import Field
|
|
7
7
|
|
|
@@ -25,7 +25,7 @@ class Group(BaseModel):
|
|
|
25
25
|
self.entities[entity_slug] = Entity(
|
|
26
26
|
slug=entity_slug,
|
|
27
27
|
state=state,
|
|
28
|
-
client=self,
|
|
28
|
+
client=self.client,
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
def get_entity(self, entity_slug: str) -> Optional["Entity"]:
|
|
@@ -71,9 +71,9 @@ class Entity(BaseModel):
|
|
|
71
71
|
return self.state
|
|
72
72
|
|
|
73
73
|
@property
|
|
74
|
-
def entity_id(self):
|
|
74
|
+
def entity_id(self) -> str:
|
|
75
75
|
"""Constructs the entity_id string from its group and slug"""
|
|
76
|
-
return self.group.group_id + "." + self.slug
|
|
76
|
+
return (self.group.group_id + "." + self.slug).strip()
|
|
77
77
|
|
|
78
78
|
def get_history(self, *args, **kwargs) -> History:
|
|
79
79
|
"""Gets the previous `State`'s of the `Entity`"""
|
homeassistant_api/processing.py
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
import inspect
|
|
4
4
|
import json
|
|
5
|
-
|
|
5
|
+
import logging
|
|
6
|
+
import sys
|
|
7
|
+
from typing import Any, Callable, ClassVar, Dict, Tuple, Union, cast
|
|
6
8
|
|
|
7
9
|
import simplejson
|
|
8
10
|
from aiohttp import ClientResponse
|
|
9
11
|
from aiohttp_client_cache.response import CachedResponse as AsyncCachedResponse
|
|
10
12
|
from requests import Response
|
|
11
|
-
from requests_cache import CachedResponse
|
|
13
|
+
from requests_cache.models.response import CachedResponse
|
|
12
14
|
|
|
13
15
|
from .errors import (
|
|
14
16
|
EndpointNotFoundError,
|
|
@@ -21,6 +23,8 @@ from .errors import (
|
|
|
21
23
|
)
|
|
22
24
|
from .models import BaseModel
|
|
23
25
|
|
|
26
|
+
logger = logging.getLogger(__name__)
|
|
27
|
+
|
|
24
28
|
|
|
25
29
|
class Processing(BaseModel):
|
|
26
30
|
"""Uses to processor functions to convert json data into common python data types."""
|
|
@@ -48,6 +52,7 @@ class Processing(BaseModel):
|
|
|
48
52
|
mimetype = self.response.headers.get("content-type", "text/plain") # type: ignore[arg-type]
|
|
49
53
|
for processor in self._processors.get(mimetype, ()):
|
|
50
54
|
if not _async ^ inspect.iscoroutinefunction(processor):
|
|
55
|
+
logger.debug(f"Using processor {processor!r} on {self.response!r}")
|
|
51
56
|
return processor(self.response)
|
|
52
57
|
if _async:
|
|
53
58
|
raise ProcessorNotFoundError(
|
|
@@ -57,10 +62,9 @@ class Processing(BaseModel):
|
|
|
57
62
|
f"No non-async response processor found for mimetype {mimetype!r}"
|
|
58
63
|
)
|
|
59
64
|
|
|
60
|
-
def process(self):
|
|
65
|
+
def process(self) -> Any:
|
|
61
66
|
"""Validates the http status code before starting to process the repsonse content"""
|
|
62
|
-
_async
|
|
63
|
-
if _async:
|
|
67
|
+
if _async := isinstance(self.response, (ClientResponse, AsyncCachedResponse)):
|
|
64
68
|
status_code = self.response.status
|
|
65
69
|
elif isinstance(self.response, Response):
|
|
66
70
|
status_code = self.response.status_code
|
|
@@ -77,14 +81,17 @@ class Processing(BaseModel):
|
|
|
77
81
|
if status_code == 404:
|
|
78
82
|
raise EndpointNotFoundError(self.response.url)
|
|
79
83
|
if status_code == 405:
|
|
80
|
-
raise MethodNotAllowedError(
|
|
84
|
+
raise MethodNotAllowedError(
|
|
85
|
+
cast(str, self.response.request.method),
|
|
86
|
+
) # type: ignore[union-attr]
|
|
81
87
|
print(
|
|
82
88
|
"If this happened, "
|
|
83
89
|
"please report it at https://github.com/GrandMoff100/HomeAssistantAPI/issues "
|
|
84
|
-
"with the request status code and the request content"
|
|
90
|
+
"with the request status code and the request content",
|
|
91
|
+
file=sys.stderr,
|
|
85
92
|
)
|
|
86
93
|
raise UnexpectedStatusCodeError(
|
|
87
|
-
|
|
94
|
+
status_code,
|
|
88
95
|
self.response.content,
|
|
89
96
|
)
|
|
90
97
|
|
homeassistant_api/rawapi.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""Module for parent RawWrapper class"""
|
|
2
2
|
|
|
3
|
-
import os
|
|
4
3
|
import re
|
|
5
4
|
from datetime import datetime
|
|
6
5
|
from typing import Dict, Optional, Tuple, Union
|
|
6
|
+
from urllib.parse import urljoin as join
|
|
7
7
|
|
|
8
8
|
from .const import DATE_FMT
|
|
9
9
|
from .models import Entity
|
|
@@ -42,7 +42,7 @@ class RawWrapper:
|
|
|
42
42
|
|
|
43
43
|
def endpoint(self, path: str) -> str:
|
|
44
44
|
"""Joins the api base url with a local path to an absolute url"""
|
|
45
|
-
return
|
|
45
|
+
return join(self.api_url, path)
|
|
46
46
|
|
|
47
47
|
@property
|
|
48
48
|
def _headers(self) -> Dict[str, str]:
|
|
@@ -122,7 +122,7 @@ class RawWrapper:
|
|
|
122
122
|
if start_timestamp is not None:
|
|
123
123
|
if isinstance(start_timestamp, datetime):
|
|
124
124
|
formatted_timestamp = start_timestamp.strftime(DATE_FMT)
|
|
125
|
-
url =
|
|
125
|
+
url = join("history/period", formatted_timestamp)
|
|
126
126
|
else:
|
|
127
127
|
raise TypeError(f"timestamp needs to be of type {datetime!r}")
|
|
128
128
|
else:
|
|
@@ -148,7 +148,7 @@ class RawWrapper:
|
|
|
148
148
|
if start_timestamp is not None:
|
|
149
149
|
if isinstance(start_timestamp, datetime):
|
|
150
150
|
formatted_timestamp = start_timestamp.strftime(DATE_FMT)
|
|
151
|
-
url =
|
|
151
|
+
url = join("logbook", formatted_timestamp)
|
|
152
152
|
else:
|
|
153
153
|
url = "logbook"
|
|
154
154
|
return params, url
|
homeassistant_api/rawclient.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"""Module for all interaction with homeassistant."""
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
import logging
|
|
4
4
|
from typing import Any, Dict, Generator, List, Optional, Tuple, Union, cast
|
|
5
|
+
from urllib.parse import urljoin as join
|
|
5
6
|
|
|
6
7
|
import requests
|
|
7
8
|
from requests_cache import CachedSession
|
|
@@ -12,6 +13,8 @@ from .models import Domain, Entity, Event, Group, History, LogbookEntry, State
|
|
|
12
13
|
from .processing import Processing
|
|
13
14
|
from .rawapi import RawWrapper
|
|
14
15
|
|
|
16
|
+
logger = logging.getLogger(__name__)
|
|
17
|
+
|
|
15
18
|
|
|
16
19
|
class RawClient(RawWrapper, JsonProcessingMixin):
|
|
17
20
|
"""
|
|
@@ -29,12 +32,14 @@ class RawClient(RawWrapper, JsonProcessingMixin):
|
|
|
29
32
|
expire_after=self.cache_expire_after,
|
|
30
33
|
backend=self.cache_backend,
|
|
31
34
|
)
|
|
35
|
+
logger.debug(f"Entering cached requests session {self._session!r}")
|
|
32
36
|
self._session.__enter__()
|
|
33
37
|
self.check_api_running()
|
|
34
38
|
self.check_api_config()
|
|
35
39
|
return self
|
|
36
40
|
|
|
37
41
|
def __exit__(self, *args):
|
|
42
|
+
logger.debug(f"Exiting requests session {self._session!r}")
|
|
38
43
|
self._session.__exit__()
|
|
39
44
|
self._session = None
|
|
40
45
|
|
|
@@ -44,11 +49,12 @@ class RawClient(RawWrapper, JsonProcessingMixin):
|
|
|
44
49
|
method="GET",
|
|
45
50
|
headers: Dict[str, str] = None,
|
|
46
51
|
**kwargs,
|
|
47
|
-
) -> Union[
|
|
52
|
+
) -> Union[Dict[str, Any], list, str]:
|
|
48
53
|
"""Base method for making requests to the api"""
|
|
49
54
|
try:
|
|
50
55
|
if self.global_request_kwargs is not None:
|
|
51
56
|
kwargs.update(self.global_request_kwargs)
|
|
57
|
+
logger.debug(f"{method} request to {self.endpoint(path)}")
|
|
52
58
|
if self._session is not None:
|
|
53
59
|
resp = self._session.request(
|
|
54
60
|
method,
|
|
@@ -203,7 +209,7 @@ class RawClient(RawWrapper, JsonProcessingMixin):
|
|
|
203
209
|
) -> Tuple[State, ...]:
|
|
204
210
|
"""Tells Home Assistant to trigger a service, returns stats changed while being called"""
|
|
205
211
|
data = self.request(
|
|
206
|
-
join("services", domain
|
|
212
|
+
join("services", domain + "/" + service),
|
|
207
213
|
method="POST",
|
|
208
214
|
json=service_data,
|
|
209
215
|
)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
homeassistant_api/__init__.py,sha256=AH9XX6azCAhlYkvfAKlPpH4PJllEHDZafCw0BFoMe3Y,1063
|
|
2
|
+
homeassistant_api/_async/__init__.py,sha256=XEF5FPZYe_jT-ivHrAZh90P946aAV3yDMPOmgI7_Oks,319
|
|
3
|
+
homeassistant_api/_async/asyncclient.py,sha256=2E4B4zzW8_WsGjFN1OMnLAdCN5UZmOD7jwVHBib8oos,10988
|
|
4
|
+
homeassistant_api/_async/models/__init__.py,sha256=A2C8C-7Pnp7cs5jc6xm12FdSShbEMpNnGeQlRB-mj9Y,255
|
|
5
|
+
homeassistant_api/_async/models/domains.py,sha256=G3fcvz_1A4QBk8gr30eFDCpHa-ndGkAisnvwNHEQWCo,2117
|
|
6
|
+
homeassistant_api/_async/models/entity.py,sha256=hTSrVc_Yps4t2gdF8lODnAXreHSNYZjKn9F1zy7Q5_8,2321
|
|
7
|
+
homeassistant_api/_async/models/events.py,sha256=bs86N92XMJQXJeVzWGz5YkjXH8zLWDzKO2OscFwd5Gk,792
|
|
8
|
+
homeassistant_api/client.py,sha256=L9bWMQKPh0fOyW9USli16JjGODEzqSvkNR3eiZiie1E,225
|
|
9
|
+
homeassistant_api/const.py,sha256=XSNCLYcEsdE5ji2LjpMmfeKdMACPhuRY3nHxhPJXXqA,84
|
|
10
|
+
homeassistant_api/errors.py,sha256=lH_AQC7yGJujj4fLcFntn_mwlHBG36QFJRJfgWH87tk,2081
|
|
11
|
+
homeassistant_api/mixins.py,sha256=Ii0t8JD9vncvtErTeo0ng7hK0GZD-Y0H6xBDEQdI1_s,2018
|
|
12
|
+
homeassistant_api/models/__init__.py,sha256=3ZX2JOrA4lWB9DTtWuhGzyKaB9WarysCcKHvyiE50Sc,394
|
|
13
|
+
homeassistant_api/models/base.py,sha256=-5XsyKSTVzQHtaHNUgLPMAtiSgh_AUfvoyFnSAAtUx4,393
|
|
14
|
+
homeassistant_api/models/domains.py,sha256=0TvtRxRzAdwZyDQokfIM9siEjKRlDcK3NZ3DIVqNwFw,2210
|
|
15
|
+
homeassistant_api/models/entity.py,sha256=s0jnDY65mTGEmA2_qXHyqO4rfR3m1K6VXMY0JHF1uHM,2706
|
|
16
|
+
homeassistant_api/models/events.py,sha256=zHB8dNGEkgMlS0pg6NzRstxpjCRYvaz2d9ezM04IlMw,752
|
|
17
|
+
homeassistant_api/models/history.py,sha256=a5HHV7bw4qeFtOYSqpmun98Kx5yV0DesTmLNi0WLoTo,634
|
|
18
|
+
homeassistant_api/models/logbook.py,sha256=Op99ux61IQfcD_0UpdFqkKIl6G3j6mcZEhDJPgWoZUc,377
|
|
19
|
+
homeassistant_api/models/states.py,sha256=60OOGntib5xJndTR6OYR10cZC31dvwPYveNR58rd250,420
|
|
20
|
+
homeassistant_api/processing.py,sha256=WqworL2RdlvdfoQUfu7t-ISdJjmwYxB3pWvvjnlkCVc,4754
|
|
21
|
+
homeassistant_api/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
|
+
homeassistant_api/rawapi.py,sha256=fD1CxSZNv7V2OcchWAk3m9o1mxgee2c9zhbdv6kEA5U,5804
|
|
23
|
+
homeassistant_api/rawclient.py,sha256=u6W0wQprXew1_-mSfVflCNSkUGqJpXvGvCLRuQcRXN8,10444
|
|
24
|
+
homeassistant_api-3.0.3.post3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
25
|
+
homeassistant_api-3.0.3.post3.dist-info/WHEEL,sha256=DA86_h4QwwzGeRoz62o1svYt5kGEXpoUTuTtwzoTb30,83
|
|
26
|
+
homeassistant_api-3.0.3.post3.dist-info/METADATA,sha256=ApMgNVcdZGJWDIM7F-eVJO-3TEtOYE9MeWrQ4XY7RKI,2902
|
|
27
|
+
homeassistant_api-3.0.3.post3.dist-info/RECORD,,
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
homeassistant_api/__init__.py,sha256=2ytHsy2lmXRF4Sb5f7s8UjkOIvlwC0BAavfqk9Nichs,821
|
|
2
|
-
homeassistant_api/_async/__init__.py,sha256=LIqz76A06Gv8fOtSoh7cavVKfz60oW7UJLCvntfrRKY,188
|
|
3
|
-
homeassistant_api/_async/asyncclient.py,sha256=4nifxyGY98i9KFKSvtJZAiDO67Lxfs5anFUjiPKl9D0,10758
|
|
4
|
-
homeassistant_api/_async/models/__init__.py,sha256=UeSGN4JiY_CkXKA-qL_bV_Xmn50wJoeacf5MbEo0m28,169
|
|
5
|
-
homeassistant_api/_async/models/domains.py,sha256=KGFjXfKJ1z4u-qvsvwa2MSxgbK6fq8oTTvkcsYWF8EU,2123
|
|
6
|
-
homeassistant_api/_async/models/entity.py,sha256=-J1SH0Z9YYI12mFqDJp6GXluQ4Bdqm4xkUWo9VK1JQY,2305
|
|
7
|
-
homeassistant_api/_async/models/events.py,sha256=bs86N92XMJQXJeVzWGz5YkjXH8zLWDzKO2OscFwd5Gk,792
|
|
8
|
-
homeassistant_api/client.py,sha256=L9bWMQKPh0fOyW9USli16JjGODEzqSvkNR3eiZiie1E,225
|
|
9
|
-
homeassistant_api/const.py,sha256=XSNCLYcEsdE5ji2LjpMmfeKdMACPhuRY3nHxhPJXXqA,84
|
|
10
|
-
homeassistant_api/errors.py,sha256=iyg7MY4z75b3g2AqQ8yuziiAq6y7IRk0LcTQc410ZiA,2057
|
|
11
|
-
homeassistant_api/mixins.py,sha256=Ii0t8JD9vncvtErTeo0ng7hK0GZD-Y0H6xBDEQdI1_s,2018
|
|
12
|
-
homeassistant_api/models/__init__.py,sha256=9YRyT_Zfegg7Kn-X1tmv1-_XOx9r3MVjxWUGdGhpVLc,262
|
|
13
|
-
homeassistant_api/models/base.py,sha256=-5XsyKSTVzQHtaHNUgLPMAtiSgh_AUfvoyFnSAAtUx4,393
|
|
14
|
-
homeassistant_api/models/domains.py,sha256=sAJB8I4fGGxK8RfLXlmAm1RQOCu8HMWXAbHcZPUmeXU,2216
|
|
15
|
-
homeassistant_api/models/entity.py,sha256=vWfLBjh2sMThhj893oVLzT-jXDcZp-_1dAuKT1oCNuc,2666
|
|
16
|
-
homeassistant_api/models/events.py,sha256=zHB8dNGEkgMlS0pg6NzRstxpjCRYvaz2d9ezM04IlMw,752
|
|
17
|
-
homeassistant_api/models/history.py,sha256=a5HHV7bw4qeFtOYSqpmun98Kx5yV0DesTmLNi0WLoTo,634
|
|
18
|
-
homeassistant_api/models/logbook.py,sha256=Op99ux61IQfcD_0UpdFqkKIl6G3j6mcZEhDJPgWoZUc,377
|
|
19
|
-
homeassistant_api/models/states.py,sha256=60OOGntib5xJndTR6OYR10cZC31dvwPYveNR58rd250,420
|
|
20
|
-
homeassistant_api/processing.py,sha256=quntfsA7ljZCVvd49zuyQ05uYqlfq9t3BLxp809LNWA,4500
|
|
21
|
-
homeassistant_api/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
|
-
homeassistant_api/rawapi.py,sha256=FKZArAgDuLppLTBFCdl-SI3VfEeA7rkEwhaoL06hoT8,5797
|
|
23
|
-
homeassistant_api/rawclient.py,sha256=HRJzXCMaHaQPyd34gBlhZtWZ20_cc3Ud2p4O2EV1F5I,10143
|
|
24
|
-
homeassistant_api-3.0.3.post1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
25
|
-
homeassistant_api-3.0.3.post1.dist-info/WHEEL,sha256=DA86_h4QwwzGeRoz62o1svYt5kGEXpoUTuTtwzoTb30,83
|
|
26
|
-
homeassistant_api-3.0.3.post1.dist-info/METADATA,sha256=6kvTutuD5pRTS0hQpOnzpN4SJoO0w7DQYHQQVQMB8ZE,2902
|
|
27
|
-
homeassistant_api-3.0.3.post1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|