ok + testu ok (#729)
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
This commit is contained in:
@@ -1581,6 +1581,7 @@ async def test_user_config_flow_over_climate_valve(
|
||||
CONF_OFFSET_CALIBRATION_LIST: ["number.offset_calibration1"],
|
||||
CONF_OPENING_DEGREE_LIST: ["number.opening_degree1"],
|
||||
CONF_CLOSING_DEGREE_LIST: ["number.closing_degree1"],
|
||||
CONF_MIN_OPENING_DEGREES: "10, 20,0",
|
||||
},
|
||||
)
|
||||
assert result["type"] == FlowResultType.FORM
|
||||
@@ -1619,6 +1620,7 @@ async def test_user_config_flow_over_climate_valve(
|
||||
"number.opening_degree2",
|
||||
],
|
||||
CONF_CLOSING_DEGREE_LIST: [],
|
||||
CONF_MIN_OPENING_DEGREES: "10, 20,0",
|
||||
},
|
||||
)
|
||||
assert result["type"] == FlowResultType.MENU
|
||||
@@ -1715,6 +1717,7 @@ async def test_user_config_flow_over_climate_valve(
|
||||
CONF_PROP_FUNCTION: PROPORTIONAL_FUNCTION_TPI,
|
||||
CONF_TPI_COEF_INT: 0.3,
|
||||
CONF_TPI_COEF_EXT: 0.1,
|
||||
CONF_MIN_OPENING_DEGREES: "10, 20,0",
|
||||
}
|
||||
assert result["result"]
|
||||
assert result["result"].domain == DOMAIN
|
||||
|
||||
Reference in New Issue
Block a user