Address late review comments for Command Line (#93743)
* Late review comments * Rephrasepull/93971/head
parent
64ee1e8e43
commit
e1ef027461
|
@ -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
|
||||
|
||||
|
|
|
@ -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."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue