Add missed type hint on MQTT device tracker test (#87847)
This commit is contained in:
parent
0bf4896c7f
commit
41a92a872f
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ from unittest.mock import patch
|
|||
import pytest
|
||||
|
||||
from homeassistant.components import device_tracker, mqtt
|
||||
from homeassistant.components.device_tracker.legacy import Device
|
||||
from homeassistant.components.mqtt.const import DOMAIN as MQTT_DOMAIN
|
||||
from homeassistant.const import STATE_HOME, STATE_NOT_HOME, STATE_UNKNOWN, Platform
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
@ -589,7 +590,7 @@ async def test_setting_blocked_attribute_via_mqtt_json_message(
|
|||
|
||||
|
||||
async def test_setup_with_modern_schema(
|
||||
hass: HomeAssistant, mock_device_tracker_conf
|
||||
hass: HomeAssistant, mock_device_tracker_conf: list[Device]
|
||||
) -> None:
|
||||
"""Test setup using the modern schema."""
|
||||
dev_id = "jan"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue