Render should always return a html template (#4612)

This commit is contained in:
Bram Kragten
2020-01-27 17:34:22 +01:00
committed by Paulus Schoutsen
parent 82fb622904
commit 04f8f0f74f
237 changed files with 248 additions and 245 deletions

View File

@@ -34,7 +34,7 @@ class HuiScriptEntityRow extends LitElement implements LovelaceRow {
return hasConfigOrEntityChanged(this, changedProps);
}
protected render(): TemplateResult | void {
protected render(): TemplateResult {
if (!this._config || !this.hass) {
return html``;
}