Add browser to diagnostics.
This commit is contained in:
+3
-1
@@ -1368,6 +1368,8 @@ export class FrigateCard extends LitElement {
|
|||||||
context: {
|
context: {
|
||||||
ha_version: this._hass.config.version,
|
ha_version: this._hass.config.version,
|
||||||
card_version: CARD_VERSION,
|
card_version: CARD_VERSION,
|
||||||
|
browser: navigator.userAgent,
|
||||||
|
date: new Date(),
|
||||||
frigate_version: Object.fromEntries(frigateVersionMap),
|
frigate_version: Object.fromEntries(frigateVersionMap),
|
||||||
lang: getLanguage(),
|
lang: getLanguage(),
|
||||||
...(this._rawConfig && { config: this._rawConfig }),
|
...(this._rawConfig && { config: this._rawConfig }),
|
||||||
@@ -1643,7 +1645,7 @@ export class FrigateCard extends LitElement {
|
|||||||
*/
|
*/
|
||||||
protected _getMergedActions(): Actions {
|
protected _getMergedActions(): Actions {
|
||||||
let specificActions: Actions | undefined = undefined;
|
let specificActions: Actions | undefined = undefined;
|
||||||
|
|
||||||
if (this._view?.is('live')) {
|
if (this._view?.is('live')) {
|
||||||
specificActions = this._getConfig().live.actions;
|
specificActions = this._getConfig().live.actions;
|
||||||
} else if (this._view?.isGalleryView()) {
|
} else if (this._view?.isGalleryView()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user