def test_in_limits_None(self, param: HtParam): assert param.in_limits(None)
async def test_get_param(self, hthp: AioHtHeatpump, name: str, param: HtParam): value = await hthp.get_param_async(name) assert value is not None, "'value' must not be None" assert param.in_limits(value)
def test_in_limits(self, name: str, param: HtParam): assert param.in_limits(param.min_val) assert param.in_limits(param.max_val)