Allow config entry setup to raise not ready (#17135)

This commit is contained in:
Paulus Schoutsen 2018-10-04 15:53:50 +02:00 committed by Pascal Vizeli
parent c9976718d4
commit 0cfbb9ce91
3 changed files with 100 additions and 14 deletions

View file

@ -35,6 +35,12 @@ class PlatformNotReady(HomeAssistantError):
pass
class ConfigEntryNotReady(HomeAssistantError):
"""Error to indicate that config entry is not ready."""
pass
class InvalidStateError(HomeAssistantError):
"""When an invalid state is encountered."""