mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Address late review comments for Command Line (#93743)
* Late review comments * Rephrase
This commit is contained in:
parent
64ee1e8e43
commit
e1ef027461
@ -142,7 +142,7 @@ CONFIG_SCHEMA = vol.Schema(
|
|||||||
|
|
||||||
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||||
"""Set up Command Line from yaml config."""
|
"""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:
|
if not command_line_config:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"issues": {
|
"issues": {
|
||||||
"deprecated_platform_yaml": {
|
"deprecated_platform_yaml": {
|
||||||
"title": "Command Line YAML configuration has been deprecated",
|
"title": "Command Line YAML configuration has moved",
|
||||||
"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."
|
"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…
x
Reference in New Issue
Block a user