mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Update Union typing (zha) [Py310] (#86453)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
"""Test ZHA device switch."""
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
import time
|
||||
from unittest import mock
|
||||
from unittest.mock import patch
|
||||
@@ -224,6 +225,7 @@ async def test_check_available_no_basic_channel(
|
||||
hass, device_without_basic_channel, zha_device_restored, caplog
|
||||
):
|
||||
"""Check device availability for a device without basic cluster."""
|
||||
caplog.set_level(logging.DEBUG, logger="homeassistant.components.zha")
|
||||
|
||||
zha_device = await zha_device_restored(device_without_basic_channel)
|
||||
await async_enable_traffic(hass, [zha_device])
|
||||
|
||||
Reference in New Issue
Block a user