Correctly warn if Google entities defined in YAML (#3230)

This commit is contained in:
Paulus Schoutsen 2019-05-30 08:41:44 -07:00 committed by GitHub
parent d94223a61e
commit ab157fdbff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ class CloudGoogleAssistant extends LitElement {
<hass-loading-screen></hass-loading-screen>
`;
}
const emptyFilter = true || isEmptyFilter(this.cloudStatus.google_entities);
const emptyFilter = isEmptyFilter(this.cloudStatus.google_entities);
const filterFunc = this._getEntityFilterFunc(
this.cloudStatus.google_entities
);