mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-10 19:40:25 +00:00
Ensure more consistent lovelace config errors (#7755)
This commit is contained in:
@@ -26,7 +26,7 @@ class HuiScriptEntityRow extends LitElement implements LovelaceRow {
|
||||
|
||||
public setConfig(config: ActionRowConfig): void {
|
||||
if (!config) {
|
||||
throw new Error("Configuration error");
|
||||
throw new Error("Invalid configuration");
|
||||
}
|
||||
this._config = config;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user