fix: Only include custom integrations in diagnostics (#1765)
This commit is contained in:
@@ -86,7 +86,7 @@ describe('getDiagnostics', () => {
|
||||
commit_date: 'Wed, 6 Sep 2023 21:27:28 -0700',
|
||||
hash: 'g4cf13b1',
|
||||
},
|
||||
integrations: {
|
||||
custom_integrations: {
|
||||
frigate: {
|
||||
detected: true,
|
||||
devices: {
|
||||
@@ -99,14 +99,6 @@ describe('getDiagnostics', () => {
|
||||
detected: true,
|
||||
version: '0.0.1',
|
||||
},
|
||||
motioneye: {
|
||||
detected: true,
|
||||
version: '0.0.1',
|
||||
},
|
||||
reolink: {
|
||||
detected: true,
|
||||
version: '0.0.1',
|
||||
},
|
||||
},
|
||||
date: now,
|
||||
lang: 'en',
|
||||
@@ -145,19 +137,13 @@ describe('getDiagnostics', () => {
|
||||
commit_date: 'Wed, 6 Sep 2023 21:27:28 -0700',
|
||||
hash: 'g4cf13b1',
|
||||
},
|
||||
integrations: {
|
||||
custom_integrations: {
|
||||
frigate: {
|
||||
detected: false,
|
||||
},
|
||||
hass_web_proxy: {
|
||||
detected: false,
|
||||
},
|
||||
motioneye: {
|
||||
detected: false,
|
||||
},
|
||||
reolink: {
|
||||
detected: false,
|
||||
},
|
||||
},
|
||||
date: now,
|
||||
lang: 'en',
|
||||
@@ -177,19 +163,13 @@ describe('getDiagnostics', () => {
|
||||
commit_date: 'Wed, 6 Sep 2023 21:27:28 -0700',
|
||||
hash: 'g4cf13b1',
|
||||
},
|
||||
integrations: {
|
||||
custom_integrations: {
|
||||
frigate: {
|
||||
detected: false,
|
||||
},
|
||||
hass_web_proxy: {
|
||||
detected: false,
|
||||
},
|
||||
motioneye: {
|
||||
detected: false,
|
||||
},
|
||||
reolink: {
|
||||
detected: false,
|
||||
},
|
||||
},
|
||||
ha_version: '2023.9.0',
|
||||
date: now,
|
||||
|
||||
Reference in New Issue
Block a user