Address late review comments for Command Line (#93743)

* Late review comments

* Rephrase
pull/93971/head
G Johansson 2023-05-29 19:45:42 +02:00 committed by GitHub
parent 64ee1e8e43
commit e1ef027461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ CONFIG_SCHEMA = vol.Schema(
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up Command Line from yaml config."""
command_line_config: list[dict[str, dict[str, Any]]] = config.get(DOMAIN, {})
command_line_config: list[dict[str, dict[str, Any]]] = config.get(DOMAIN, [])
if not command_line_config:
return True

View File

@ -1,8 +1,8 @@
{
"issues": {
"deprecated_platform_yaml": {
"title": "Command Line YAML configuration has been deprecated",
"description": "Configuring Command Line `{platform}` using YAML has been deprecated.\n\nConsult the documentation to move your YAML configuration to integration key and restart Home Assistant to resolve this issue."
"title": "Command Line YAML configuration has moved",
"description": "Configuring Command Line `{platform}` using YAML has moved.\n\nConsult the documentation to move your YAML configuration to integration key and restart Home Assistant to fix this issue."
}
}
}