Add missing return to service picker

This commit is contained in:
Paulus Schoutsen 2017-12-01 23:33:40 -08:00 committed by GitHub
parent f9cd2d9612
commit b73c3ed233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ class HaServicePicker extends Polymer.Element {
_hassChanged(hass, oldHass) {
if (!hass) {
this._services = [];
return;
} else if (oldHass && hass.config.services === oldHass.config.services) {
return;
}