From 4b5b2197f112c19f9450fbe533f205e25f23a9dd Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Fri, 4 Mar 2022 11:14:50 +0000 Subject: [PATCH] Add note about IntegrationUpdateFailed --- docs/core/update_platform.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/core/update_platform.md b/docs/core/update_platform.md index 05ee2c54..4c60c50f 100644 --- a/docs/core/update_platform.md +++ b/docs/core/update_platform.md @@ -45,6 +45,8 @@ async def async_perform_update( If you set `supports_backup` to `True` in `UpdateDescription` a `backup` key will be present in `kwargs` with a `bool` that represent the choice the user made. +If the update failed raise `IntegrationUpdateFailed`. + ## UpdateDescription The update description provides a interface to describe the update.