|
| def | __init__ (self, hass, server_loc, api_key, timeout, component, entities) |
| |
| def | call_api (self, method, function, data=None, binary=False, params=None) |
| |
| def | store (self) |
| |
| None | update_store (self) |
| |
Microsoft Face api for Home Assistant.
Definition at line 250 of file __init__.py.
◆ __init__()
| def homeassistant.components.microsoft_face.MicrosoftFace.__init__ |
( |
|
self, |
|
|
|
hass, |
|
|
|
server_loc, |
|
|
|
api_key, |
|
|
|
timeout, |
|
|
|
component, |
|
|
|
entities |
|
) |
| |
Initialize Microsoft Face api.
Definition at line 253 of file __init__.py.
◆ call_api()
| def homeassistant.components.microsoft_face.MicrosoftFace.call_api |
( |
|
self, |
|
|
|
method, |
|
|
|
function, |
|
|
|
data = None, |
|
|
|
binary = False, |
|
|
|
params = None |
|
) |
| |
◆ store()
| def homeassistant.components.microsoft_face.MicrosoftFace.store |
( |
|
self | ) |
|
Store group/person data and IDs.
Definition at line 265 of file __init__.py.
◆ update_store()
| None homeassistant.components.microsoft_face.MicrosoftFace.update_store |
( |
|
self | ) |
|
Load all group/person data into local store.
Definition at line 269 of file __init__.py.
◆ _api_key
| homeassistant.components.microsoft_face.MicrosoftFace._api_key |
|
private |
◆ _entities
| homeassistant.components.microsoft_face.MicrosoftFace._entities |
|
private |
◆ _server_url
| homeassistant.components.microsoft_face.MicrosoftFace._server_url |
|
private |
◆ _store
| homeassistant.components.microsoft_face.MicrosoftFace._store |
|
private |
◆ hass
| homeassistant.components.microsoft_face.MicrosoftFace.hass |
◆ timeout
| homeassistant.components.microsoft_face.MicrosoftFace.timeout |
◆ websession
| homeassistant.components.microsoft_face.MicrosoftFace.websession |
The documentation for this class was generated from the following file:
- core/homeassistant/components/microsoft_face/__init__.py