Ensure more consistent lovelace config errors (#7755)

This commit is contained in:
Philip Allgaier
2020-11-21 14:08:43 +01:00
committed by GitHub
parent aad6492a6a
commit c53ec6e12d
65 changed files with 118 additions and 93 deletions

View File

@@ -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;
}