EntityComponent to retry platforms that are not ready yet (#8209)
* Add PlatformNotReady Exception * lint * Remove cap, adjust algorithm
This commit is contained in:
1 parent
f02d169864
commit
d73b695e73
4 files changed
+69
-5
No files matched your search
@@ -26,3 +26,9 @@ class TemplateError(HomeAssistantError):
|
||||
"""Init the error."""
|
||||
super().__init__('{}: {}'.format(exception.__class__.__name__,
|
||||
exception))
|
||||
|
||||
|
||||
class PlatformNotReady(HomeAssistantError):
|
||||
"""Error to indicate that platform is not ready."""
|
||||
|
||||
pass
|
||||
Reference in new issue
Block a user