tests/components/google/conftest.py
def component_setup(hass: HomeAssistant, config: dict[str, Any]) -> ComponentSetup:
    """Fixture for setting up the integration."""

    async def _setup_func() -> bool:
        result = await async_setup_component(hass, DOMAIN, config)
        await hass.async_block_till_done()
        return result

    return _setup_func
Fixture for setting up the integration.
Fixture for setting up the integration.
Fixture for setting up the integration .
def component_setup(hass: HomeAssistant, config: dict[str, Any]) -> ComponentSetup:
    async def _setup_func() -> bool:
        result = await async_setup_component(hass, DOMAIN, config)
        await hass.async_block_till_done()
        return result
    return _setup_func
def component_setup ( hass : HomeAssistant , config : dict [ str , Any ] ) -> ComponentSetup : async def _setup_func ( ) -> bool : result = await async_setup_component ( hass , DOMAIN , config ) await hass . async_block_till_done ( ) return result return _setup_func
Fixture for setting up the integration.
Fixture for setting up the integration .
"""Fixture for setting up the integration."""
hass
HomeAssistant
config
dict[str, Any]