|
| None | __init__ (self, HomeAssistant hass, str resource, str method, dict[str, str]|None headers, dict[str, str]|None params, str message_param_name, str|None title_param_name, str|None target_param_name, dict[str, Any]|None data, dict[str, Any]|None data_template, httpx.Auth|None auth, bool verify_ssl) |
| |
| None | async_send_message (self, str message="", **Any kwargs) |
| |
Implementation of a notification service for REST.
Definition at line 118 of file notify.py.
◆ __init__()
| None homeassistant.components.rest.notify.RestNotificationService.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
str |
resource, |
|
|
str |
method, |
|
|
dict[str, str] | None |
headers, |
|
|
dict[str, str] | None |
params, |
|
|
str |
message_param_name, |
|
|
str | None |
title_param_name, |
|
|
str | None |
target_param_name, |
|
|
dict[str, Any] | None |
data, |
|
|
dict[str, Any] | None |
data_template, |
|
|
httpx.Auth | None |
auth, |
|
|
bool |
verify_ssl |
|
) |
| |
Initialize the service.
Definition at line 121 of file notify.py.
◆ async_send_message()
| None homeassistant.components.rest.notify.RestNotificationService.async_send_message |
( |
|
self, |
|
|
str |
message = "", |
|
|
**Any |
kwargs |
|
) |
| |
Send a message to a user.
Definition at line 150 of file notify.py.
◆ _auth
| homeassistant.components.rest.notify.RestNotificationService._auth |
|
private |
◆ _data
| homeassistant.components.rest.notify.RestNotificationService._data |
|
private |
◆ _data_template
| homeassistant.components.rest.notify.RestNotificationService._data_template |
|
private |
◆ _hass
| homeassistant.components.rest.notify.RestNotificationService._hass |
|
private |
◆ _headers
| homeassistant.components.rest.notify.RestNotificationService._headers |
|
private |
◆ _message_param_name
| homeassistant.components.rest.notify.RestNotificationService._message_param_name |
|
private |
◆ _method
| homeassistant.components.rest.notify.RestNotificationService._method |
|
private |
◆ _params
| homeassistant.components.rest.notify.RestNotificationService._params |
|
private |
◆ _resource
| homeassistant.components.rest.notify.RestNotificationService._resource |
|
private |
◆ _target_param_name
| homeassistant.components.rest.notify.RestNotificationService._target_param_name |
|
private |
◆ _title_param_name
| homeassistant.components.rest.notify.RestNotificationService._title_param_name |
|
private |
◆ _verify_ssl
| homeassistant.components.rest.notify.RestNotificationService._verify_ssl |
|
private |
The documentation for this class was generated from the following file: