Add missing argument type hints to component tests (#119671)

This commit is contained in:
epenet 2024-06-14 09:26:46 +02:00 committed by GitHub
parent 83b97d3218
commit 3e9d25f81d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 135 additions and 67 deletions

View file

@ -25,7 +25,7 @@ def get_device_id(mac: str) -> tuple[str, str]:
return (BLUETOOTH_DOMAIN, mac)
async def _async_setup_bthome_device(hass, mac: str):
async def _async_setup_bthome_device(hass: HomeAssistant, mac: str) -> MockConfigEntry:
config_entry = MockConfigEntry(
domain=DOMAIN,
unique_id=mac,