Remove trailing space from configuration error messages (#103909)

* Remove trailing space from configuration error messages

* Update test
This commit is contained in:
Erik Montnemery 2023-11-13 15:19:37 +01:00 committed by GitHub
parent c6f9af2cab
commit 07af073735
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 30 deletions

View file

@ -83,7 +83,7 @@ async def test_bad_core_config(hass: HomeAssistant) -> None:
(
"Invalid config for [homeassistant]: not a valid value for dictionary "
"value @ data['unit_system']. Got 'bad'. (See "
f"{hass.config.path(YAML_CONFIG_FILE)}, line 2). "
f"{hass.config.path(YAML_CONFIG_FILE)}, line 2)."
),
"homeassistant",
{"unit_system": "bad"},