|
| None | __init__ (self, HomeAssistant hass, HassIO hassio) |
| |
| None | async_process_del (self, dict[str, Any] data) |
| |
| None | async_process_new (self, Discovery data) |
| |
| None | async_rediscover (self, str uuid) |
| |
| web.Response | delete (self, web.Request request, str uuid) |
| |
| web.Response | post (self, web.Request request, str uuid) |
| |
|
| string | name = "api:hassio_push:discovery" |
| |
| string | url = "/api/hassio_push/discovery/{uuid}" |
| |
Hass.io view to handle base part.
Definition at line 74 of file discovery.py.
◆ __init__()
| None homeassistant.components.hassio.discovery.HassIODiscovery.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
HassIO |
hassio |
|
) |
| |
◆ async_process_del()
| None homeassistant.components.hassio.discovery.HassIODiscovery.async_process_del |
( |
|
self, |
|
|
dict[str, Any] |
data |
|
) |
| |
Process remove discovery entry.
Definition at line 143 of file discovery.py.
◆ async_process_new()
| None homeassistant.components.hassio.discovery.HassIODiscovery.async_process_new |
( |
|
self, |
|
|
Discovery |
data |
|
) |
| |
◆ async_rediscover()
| None homeassistant.components.hassio.discovery.HassIODiscovery.async_rediscover |
( |
|
self, |
|
|
str |
uuid |
|
) |
| |
Rediscover add-on when config entry is removed.
Definition at line 105 of file discovery.py.
◆ delete()
| web.Response homeassistant.components.hassio.discovery.HassIODiscovery.delete |
( |
|
self, |
|
|
web.Request |
request, |
|
|
str |
uuid |
|
) |
| |
Handle remove discovery requests.
Definition at line 98 of file discovery.py.
◆ post()
| web.Response homeassistant.components.hassio.discovery.HassIODiscovery.post |
( |
|
self, |
|
|
web.Request |
request, |
|
|
str |
uuid |
|
) |
| |
Handle new discovery requests.
Definition at line 86 of file discovery.py.
◆ _supervisor_client
| homeassistant.components.hassio.discovery.HassIODiscovery._supervisor_client |
|
private |
◆ hass
| homeassistant.components.hassio.discovery.HassIODiscovery.hass |
◆ hassio
| homeassistant.components.hassio.discovery.HassIODiscovery.hassio |
◆ name
| string homeassistant.components.hassio.discovery.HassIODiscovery.name = "api:hassio_push:discovery" |
|
static |
◆ url
| string homeassistant.components.hassio.discovery.HassIODiscovery.url = "/api/hassio_push/discovery/{uuid}" |
|
static |
The documentation for this class was generated from the following file: