parent
742643936f
commit
cf4c02b9fa
1 changed files with 1 additions and 2 deletions
|
@ -440,8 +440,7 @@ class HomeAssistant:
|
|||
"""Set the current state."""
|
||||
self.state = state
|
||||
for prop in ("is_running", "is_stopping"):
|
||||
with suppress(AttributeError):
|
||||
delattr(self, prop)
|
||||
self.__dict__.pop(prop, None)
|
||||
|
||||
def start(self) -> int:
|
||||
"""Start Home Assistant.
|
||||
|
|
Loading…
Add table
Reference in a new issue