Namespaces | |
| const | |
| device_trigger | |
| significant_change | |
Classes | |
| class | UpdateDeviceClass |
| class | UpdateEntity |
| class | UpdateEntityDescription |
Functions | |
| bool | _version_is_newer (str latest_version, str installed_version) |
| None | async_clear_skipped (UpdateEntity entity, ServiceCall service_call) |
| None | async_install (UpdateEntity entity, ServiceCall service_call) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| None | async_skip (UpdateEntity entity, ServiceCall service_call) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| None | websocket_release_notes (HomeAssistant hass, websocket_api.connection.ActiveConnection connection, dict[str, Any] msg) |
Variables | |
| list | __all__ |
| _LOGGER = logging.getLogger(__name__) | |
| dictionary | CACHED_PROPERTIES_WITH_ATTR_ |
| DEVICE_CLASSES_SCHEMA = vol.All(vol.Lower, vol.Coerce(UpdateDeviceClass)) | |
| Final | |
| PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA | |
| PLATFORM_SCHEMA_BASE = cv.PLATFORM_SCHEMA_BASE | |
| SCAN_INTERVAL = timedelta(minutes=15) | |
Component to allow for providing device or service updates.
|
private |
Return True if latest_version is newer than installed_version.
Definition at line 187 of file __init__.py.
| None homeassistant.components.update.async_clear_skipped | ( | UpdateEntity | entity, |
| ServiceCall | service_call | ||
| ) |
Service call wrapper to validate the call.
Definition at line 169 of file __init__.py.
| None homeassistant.components.update.async_install | ( | UpdateEntity | entity, |
| ServiceCall | service_call | ||
| ) |
Service call wrapper to validate the call.
Definition at line 127 of file __init__.py.
| bool homeassistant.components.update.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up Select entities.
Definition at line 84 of file __init__.py.
| bool homeassistant.components.update.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up a config entry.
Definition at line 117 of file __init__.py.
| None homeassistant.components.update.async_skip | ( | UpdateEntity | entity, |
| ServiceCall | service_call | ||
| ) |
Service call wrapper to validate the call.
Definition at line 160 of file __init__.py.
| bool homeassistant.components.update.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 122 of file __init__.py.
| None homeassistant.components.update.websocket_release_notes | ( | HomeAssistant | hass, |
| websocket_api.connection.ActiveConnection | connection, | ||
| dict[str, Any] | msg | ||
| ) |
Get the full release notes for a entity.
Definition at line 528 of file __init__.py.
|
private |
Definition at line 64 of file __init__.py.
|
private |
Definition at line 46 of file __init__.py.
| dictionary homeassistant.components.update.CACHED_PROPERTIES_WITH_ATTR_ |
Definition at line 192 of file __init__.py.
| homeassistant.components.update.DEVICE_CLASSES_SCHEMA = vol.All(vol.Lower, vol.Coerce(UpdateDeviceClass)) |
Definition at line 61 of file __init__.py.
| homeassistant.components.update.Final |
Definition at line 49 of file __init__.py.
| homeassistant.components.update.PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA |
Definition at line 50 of file __init__.py.
| homeassistant.components.update.PLATFORM_SCHEMA_BASE = cv.PLATFORM_SCHEMA_BASE |
Definition at line 51 of file __init__.py.
| homeassistant.components.update.SCAN_INTERVAL = timedelta(minutes=15) |
Definition at line 52 of file __init__.py.