def METHOD_NAME(fake_home: Home):
    d = fake_home.search_device_by_id("3014F71100000000000DRBL4")
    result = _get_target_channels(d, None)
    assert len(result) == 1
    assert result[0].index == 1
    result = _get_target_channels(d, [1, 3])
    assert len(result) == 2
    assert result[0].index == 1
    assert result[1].index == 3