1
0
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:
Marc Mueller
2023-01-23 14:46:40 +01:00
committed by GitHub
parent 6582ee3591
commit 00e5f23249
3 changed files with 7 additions and 5 deletions

View File

@@ -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])