Merge pull request #681 from dermotduffy/browser-version-in-diagnostics
Add browser to diagnostics
This commit is contained in:
@@ -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 }),
|
||||||
|
|||||||
Reference in New Issue
Block a user