Add missing argument type hints to component tests (#119671)
This commit is contained in:
parent
83b97d3218
commit
3e9d25f81d
47 changed files with 135 additions and 67 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue