From 69c5b04de9c1b36f459f86dbd0a97d787bb6cd2a Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 17 Jan 2022 11:21:55 -0800 Subject: [PATCH] lint --- tests/components/zwave_js/test_device_action.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/components/zwave_js/test_device_action.py b/tests/components/zwave_js/test_device_action.py index ff511bc5f0e..965c7207fcf 100644 --- a/tests/components/zwave_js/test_device_action.py +++ b/tests/components/zwave_js/test_device_action.py @@ -600,9 +600,7 @@ async def test_unavailable_entity_actions( dev_reg = device_registry.async_get(hass) device = dev_reg.async_get_device({get_device_id(client, node)}) assert device - actions = await async_get_device_automations( - hass, DeviceAutomationType.ACTION, device.id - ) + actions = await async_get_device_automations(hass, "action", device.id) assert not any( action.get("entity_id") == entity_id_unavailable for action in actions )