diff --git a/homeassistant/core.py b/homeassistant/core.py index 58e94d63352..1edeb666492 100644 --- a/homeassistant/core.py +++ b/homeassistant/core.py @@ -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.