Do not report on shutting down errors (#4431)
* Do not report on shutting down errors * Lint
This commit is contained in:
parent
b615b3349f
commit
726bc5b670
2 changed files with 13 additions and 3 deletions
|
@ -7,6 +7,12 @@ class HomeAssistantError(Exception):
|
|||
pass
|
||||
|
||||
|
||||
class ShuttingDown(HomeAssistantError):
|
||||
"""When trying to change something during shutdown."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class InvalidEntityFormatError(HomeAssistantError):
|
||||
"""When an invalid formatted entity is encountered."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue