Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.persistent_notification.Notification
 
class  homeassistant.components.persistent_notification.UpdateType
 

Namespaces

 homeassistant.components.persistent_notification
 

Functions

dict[str, Notification] homeassistant.components.persistent_notification._async_get_or_create_notifications (HomeAssistant hass)
 
None homeassistant.components.persistent_notification._async_send_notification_update (websocket_api.ActiveConnection connection, int msg_id, UpdateType update_type, dict[str, Notification] notifications)
 
None homeassistant.components.persistent_notification.async_create (HomeAssistant hass, str message, str|None title=None, str|None notification_id=None)
 
None homeassistant.components.persistent_notification.async_dismiss (HomeAssistant hass, str notification_id)
 
None homeassistant.components.persistent_notification.async_dismiss_all (HomeAssistant hass)
 
CALLBACK_TYPE homeassistant.components.persistent_notification.async_register_callback (HomeAssistant hass, Callable[[UpdateType, dict[str, Notification]], None] _callback)
 
bool homeassistant.components.persistent_notification.async_setup (HomeAssistant hass, ConfigType config)
 
None homeassistant.components.persistent_notification.create (HomeAssistant hass, str message, str|None title=None, str|None notification_id=None)
 
None homeassistant.components.persistent_notification.dismiss (HomeAssistant hass, str notification_id)
 
None homeassistant.components.persistent_notification.websocket_get_notifications (HomeAssistant hass, websocket_api.ActiveConnection connection, Mapping[str, Any] msg)
 
None homeassistant.components.persistent_notification.websocket_subscribe_notifications (HomeAssistant hass, websocket_api.ActiveConnection connection, Mapping[str, Any] msg)
 

Variables

 homeassistant.components.persistent_notification._LOGGER = logging.getLogger(__name__)
 
 homeassistant.components.persistent_notification.CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
 
string homeassistant.components.persistent_notification.DOMAIN = "persistent_notification"
 
 homeassistant.components.persistent_notification.Final
 
 homeassistant.components.persistent_notification.SCHEMA_SERVICE_NOTIFICATION
 
 homeassistant.components.persistent_notification.SIGNAL_PERSISTENT_NOTIFICATIONS_UPDATED