Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gjohansson-ST committed Sep 24, 2024
1 parent fc677b0 commit 2f81f02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/climate/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@
"message": "Provided humidity {humidity} is not valid. Accepted range is {min_humidity} to {max_humidity}."
},
"missing_target_temperature_entity_feature": {
"message": "Set temperature action was used with target temperature but the entity does not support it."
"message": "Set temperature action was used with the target temperature parameter but the entity does not support it."
},
"missing_target_temperature_range_entity_feature": {
"message": "Set temperature action was used with target temperature low/high but the entity does not support it."
"message": "Set temperature action was used with the target temperature low/high parameter but the entity does not support it."
}
}
}
4 changes: 2 additions & 2 deletions tests/components/climate/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def supported_features(self) -> int:

with pytest.raises(
ServiceValidationError,
match="Set temperature action was used with target temperature but the entity does not support it",
match="Set temperature action was used with the target temperature parameter but the entity does not support it",
):
await hass.services.async_call(
DOMAIN,
Expand All @@ -306,7 +306,7 @@ def supported_features(self) -> int:

with pytest.raises(
ServiceValidationError,
match="Set temperature action was used with target temperature low/high but the entity does not support it",
match="Set temperature action was used with the target temperature low/high parameter but the entity does not support it",
):
await hass.services.async_call(
DOMAIN,
Expand Down

0 comments on commit 2f81f02

Please sign in to comment.