async def METHOD_NAME(value, value_type, error_type):
    """Test group_value_write."""
    xknx = XKNX()
    with pytest.raises(error_type):
        await group_value_write(xknx, "1/2/3", value, value_type=value_type)