Add mode user data to sensor. Close #207

This commit is contained in:
thomas committed 2021-05-10 10:32:23 +00:00
1 parent 5909c54c6a
commit c72fbfcb11
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -34,7 +34,9 @@ export const BrowserModBrowserMixin = (C) =>
: battery
? battery.charging
: undefined,
darkMode: this._hass.themes.darkMode,
darkMode:
this._hass && this._hass.themes && this._hass.themes.darkMode,
userData: this._hass && this._hass.user,
},
});
};