Classes | |
| class | HTML5NotificationService |
| class | HTML5PushCallbackView |
| class | HTML5PushRegistrationView |
Functions | |
| JsonObjectType | _load_config (str filename) |
| def | add_jwt (timestamp, target, tag, jwt_secret) |
| HTML5NotificationService|None | async_get_service (HomeAssistant hass, ConfigType config, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | ATTR_ACTION = "action" |
| string | ATTR_ACTIONS = "actions" |
| string | ATTR_AUTH = "auth" |
| string | ATTR_BROWSER = "browser" |
| string | ATTR_DISMISS = "dismiss" |
| string | ATTR_ENDPOINT = "endpoint" |
| string | ATTR_EXPIRATIONTIME = "expirationTime" |
| string | ATTR_JWT = "jwt" |
| string | ATTR_KEYS = "keys" |
| string | ATTR_P256DH = "p256dh" |
| string | ATTR_PRIORITY = "priority" |
| string | ATTR_SUBSCRIPTION = "subscription" |
| string | ATTR_TAG = "tag" |
| string | ATTR_TTL = "ttl" |
| string | ATTR_TYPE = "type" |
| string | ATTR_URL = "url" |
| CALLBACK_EVENT_PAYLOAD_SCHEMA | |
| string | DEFAULT_PRIORITY = "normal" |
| int | DEFAULT_TTL = 86400 |
| DISMISS_SERVICE_SCHEMA | |
| tuple | HTML5_SHOWNOTIFICATION_PARAMETERS |
| int | JWT_VALID_DAYS = 7 |
| KEYS_SCHEMA | |
| string | NOTIFY_CALLBACK_EVENT = "html5_notification" |
| PLATFORM_SCHEMA | |
| REGISTER_SCHEMA | |
| string | REGISTRATIONS_FILE = "html5_push_registrations.conf" |
| SCHEMA_WS_APPKEY | |
| SUBSCRIPTION_SCHEMA | |
| int | VAPID_CLAIM_VALID_HOURS = 12 |
| string | WS_TYPE_APPKEY = "notify/html5/appkey" |
HTML5 Push Messaging notification service.
|
private |
| def homeassistant.components.html5.notify.add_jwt | ( | timestamp, | |
| target, | |||
| tag, | |||
| jwt_secret | |||
| ) |
| HTML5NotificationService | None homeassistant.components.html5.notify.async_get_service | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
|
private |
| string homeassistant.components.html5.notify.ATTR_ACTION = "action" |
| string homeassistant.components.html5.notify.ATTR_ACTIONS = "actions" |
| string homeassistant.components.html5.notify.ATTR_AUTH = "auth" |
| string homeassistant.components.html5.notify.ATTR_BROWSER = "browser" |
| string homeassistant.components.html5.notify.ATTR_DISMISS = "dismiss" |
| string homeassistant.components.html5.notify.ATTR_ENDPOINT = "endpoint" |
| string homeassistant.components.html5.notify.ATTR_EXPIRATIONTIME = "expirationTime" |
| string homeassistant.components.html5.notify.ATTR_JWT = "jwt" |
| string homeassistant.components.html5.notify.ATTR_KEYS = "keys" |
| string homeassistant.components.html5.notify.ATTR_P256DH = "p256dh" |
| string homeassistant.components.html5.notify.ATTR_PRIORITY = "priority" |
| string homeassistant.components.html5.notify.ATTR_SUBSCRIPTION = "subscription" |
| string homeassistant.components.html5.notify.ATTR_TAG = "tag" |
| string homeassistant.components.html5.notify.ATTR_TTL = "ttl" |
| string homeassistant.components.html5.notify.ATTR_TYPE = "type" |
| string homeassistant.components.html5.notify.ATTR_URL = "url" |
| homeassistant.components.html5.notify.CALLBACK_EVENT_PAYLOAD_SCHEMA |
| string homeassistant.components.html5.notify.DEFAULT_PRIORITY = "normal" |
| int homeassistant.components.html5.notify.DEFAULT_TTL = 86400 |
| homeassistant.components.html5.notify.DISMISS_SERVICE_SCHEMA |
| tuple homeassistant.components.html5.notify.HTML5_SHOWNOTIFICATION_PARAMETERS |
| int homeassistant.components.html5.notify.JWT_VALID_DAYS = 7 |
| homeassistant.components.html5.notify.KEYS_SCHEMA |
| string homeassistant.components.html5.notify.NOTIFY_CALLBACK_EVENT = "html5_notification" |
| homeassistant.components.html5.notify.PLATFORM_SCHEMA |
| homeassistant.components.html5.notify.REGISTER_SCHEMA |
| string homeassistant.components.html5.notify.REGISTRATIONS_FILE = "html5_push_registrations.conf" |
| homeassistant.components.html5.notify.SCHEMA_WS_APPKEY |
| homeassistant.components.html5.notify.SUBSCRIPTION_SCHEMA |
| int homeassistant.components.html5.notify.VAPID_CLAIM_VALID_HOURS = 12 |