diff --git a/supervisor/homeassistant/core.py b/supervisor/homeassistant/core.py index 52748753e1c..cc3987ef887 100644 --- a/supervisor/homeassistant/core.py +++ b/supervisor/homeassistant/core.py @@ -367,6 +367,7 @@ async def restart(self, *, safe_mode: bool = False) -> None: """Restart Home Assistant Docker.""" # Create safe mode marker file if necessary if safe_mode: + _LOGGER.debug("Creating safe mode marker file.") await self.sys_run_in_executor( (self.sys_config.path_homeassistant / SAFE_MODE_FILENAME).touch ) @@ -387,6 +388,7 @@ async def rebuild(self, *, safe_mode: bool = False) -> None: """Rebuild Home Assistant Docker container.""" # Create safe mode marker file if necessary if safe_mode: + _LOGGER.debug("Creating safe mode marker file.") await self.sys_run_in_executor( (self.sys_config.path_homeassistant / SAFE_MODE_FILENAME).touch )