Skip to content

Commit b6a6b1e

Browse files
committed
fix type
1 parent eb95795 commit b6a6b1e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_button.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
)
3535
from tests.conftest import CombinedGateways
3636
from zha.application import Platform
37-
from zha.application.gateway import Gateway
3837
from zha.application.platforms import EntityCategory, PlatformEntity
3938
from zha.application.platforms.button import (
4039
Button,
@@ -236,7 +235,7 @@ class ServerCommandDefs(zcl_f.BaseCommandDefs):
236235
["zha_gateway", "ws_gateway"],
237236
)
238237
async def test_quirks_command_button(
239-
zha_gateways: Gateway,
238+
zha_gateways: CombinedGateways,
240239
gateway_type: str,
241240
) -> None:
242241
"""Test ZHA button platform."""
@@ -287,7 +286,7 @@ async def test_quirks_command_button(
287286
],
288287
)
289288
async def test_quirks_write_attr_button(
290-
zha_gateways: Gateway,
289+
zha_gateways: CombinedGateways,
291290
gateway_type: str,
292291
entity_type: type,
293292
) -> None:

0 commit comments

Comments
 (0)