mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Remove deprecated hass.helpers
(#143514)
This commit is contained in:
@ -427,9 +427,6 @@ class HomeAssistant:
|
||||
|
||||
def __init__(self, config_dir: str) -> None:
|
||||
"""Initialize new Home Assistant object."""
|
||||
# pylint: disable-next=import-outside-toplevel
|
||||
from . import loader
|
||||
|
||||
# pylint: disable-next=import-outside-toplevel
|
||||
from .core_config import Config
|
||||
|
||||
@ -443,7 +440,6 @@ class HomeAssistant:
|
||||
self.states = StateMachine(self.bus, self.loop)
|
||||
self.config = Config(self, config_dir)
|
||||
self.config.async_initialize()
|
||||
self.helpers = loader.Helpers(self)
|
||||
self.state: CoreState = CoreState.not_running
|
||||
self.exit_code: int = 0
|
||||
# If not None, use to signal end-of-loop
|
||||
|
Reference in New Issue
Block a user