async def no_test_get_actions(
    hass: HomeAssistant,
    device_reg: device_registry.DeviceRegistry,
    entity_reg: entity_registry.EntityRegistry,
) -> None:
    """Test we get the expected actions from a Homematic(IP) Local."""
    config_entry = MockConfigEntry(domain="test", data={})
    config_entry.add_to_hass(hass)
    device_entry = device_reg.async_get_or_create(
        config_entry_id=config_entry.entry_id,
        connections={(device_registry.CONNECTION_NETWORK_MAC, "12:34:56:AB:CD:EF")},
    )
    entity_reg.async_get_or_create(HMIP_DOMAIN, "test", "5678", device_id=device_entry.id)
    await async_get_device_automations(hass, "action", device_entry.id)
    # assert_lists_same(actions, expected_actions)
Test we get the expected actions from a Homematic(IP) Local.
tests/test_device_action.py