mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 04:20:17 +00:00
Default hass_config to contain an empty config (#88515)
* Default hass_config to {}
* Correct type hint
This commit is contained in:
@@ -27,7 +27,7 @@ from tests.common import async_mock_service
|
||||
],
|
||||
)
|
||||
async def test_if_fires_on_hass_start(
|
||||
hass: HomeAssistant, mock_hass_config: None, hass_config: ConfigType | None
|
||||
hass: HomeAssistant, mock_hass_config: None, hass_config: ConfigType
|
||||
) -> None:
|
||||
"""Test the firing when Home Assistant starts."""
|
||||
calls = async_mock_service(hass, "test", "automation")
|
||||
|
||||
Reference in New Issue
Block a user