diff --git a/homeassistant/components/command_line/__init__.py b/homeassistant/components/command_line/__init__.py index c34b35bb62f..651094db7f1 100644 --- a/homeassistant/components/command_line/__init__.py +++ b/homeassistant/components/command_line/__init__.py @@ -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 diff --git a/homeassistant/components/command_line/strings.json b/homeassistant/components/command_line/strings.json index 5c1e7d11630..dab4a77a6ec 100644 --- a/homeassistant/components/command_line/strings.json +++ b/homeassistant/components/command_line/strings.json @@ -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." } } }