mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 15:47:12 +00:00
lint
This commit is contained in:
parent
1c82a56618
commit
69c5b04de9
@ -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
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user