New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it possible to restart core in safe mode #102606
Conversation
Hey there @home-assistant/frontend, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
Hey there @home-assistant/core, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the test failure, this makes tons of sense 👍
2eca2ae
to
79264a3
Compare
79264a3
to
11fc34e
Compare
@@ -2135,6 +2135,9 @@ def __init__(self, hass: HomeAssistant, config_dir: str) -> None: | |||
# Use legacy template behavior | |||
self.legacy_templates: bool = False | |||
|
|||
# If Home Assistant is running in safe mode | |||
self.safe_mode: bool = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The explicit type annotation seems not needed.
Proposed change
Make it possible to restart core in safe mode
Background in #102580
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: