Default hass_config to contain an empty config (#88515)

* Default hass_config to {}

* Correct type hint
This commit is contained in:
Jan Bouwhuis 2023-02-21 08:48:44 +01:00 committed by GitHub
parent 60ca3b3223
commit ebb450c946
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -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")