mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 04:50:17 +00:00
Change Climate set temp action for incorrect feature will raise (#126692)
* Change Climate set temp action for incorrect feature will raise * Fix some tests * Fix review comments * Fix tesla_fleet * Fix tests * Fix review comment
This commit is contained in:
@@ -216,7 +216,7 @@ async def test_thermostat_set_no_temperature(
|
||||
hass: HomeAssistant, cube: MaxCube, thermostat: MaxThermostat
|
||||
) -> None:
|
||||
"""Set hvac mode to heat."""
|
||||
with pytest.raises(ValueError):
|
||||
with pytest.raises(ServiceValidationError):
|
||||
await hass.services.async_call(
|
||||
CLIMATE_DOMAIN,
|
||||
SERVICE_SET_TEMPERATURE,
|
||||
|
||||
Reference in New Issue
Block a user