-
+
${this.config.create_backup.include_database
? "Settings and history"
diff --git a/src/panels/config/backup/ha-config-backup-backups.ts b/src/panels/config/backup/ha-config-backup-backups.ts
index c89d39f46a35..1c7cdefcce7b 100644
--- a/src/panels/config/backup/ha-config-backup-backups.ts
+++ b/src/panels/config/backup/ha-config-backup-backups.ts
@@ -1,8 +1,8 @@
import {
- mdiDatabase,
mdiDelete,
mdiDotsVertical,
mdiDownload,
+ mdiHarddisk,
mdiPlus,
mdiUpload,
} from "@mdi/js";
@@ -147,7 +147,7 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
if (isLocalAgent(agentId)) {
return html`
diff --git a/src/panels/config/backup/ha-config-backup-details.ts b/src/panels/config/backup/ha-config-backup-details.ts
index 0f37a3bd59f3..86df796b3650 100644
--- a/src/panels/config/backup/ha-config-backup-details.ts
+++ b/src/panels/config/backup/ha-config-backup-details.ts
@@ -1,5 +1,5 @@
import type { ActionDetail } from "@material/mwc-list";
-import { mdiDatabase, mdiDelete, mdiDotsVertical, mdiDownload } from "@mdi/js";
+import { mdiDelete, mdiDotsVertical, mdiDownload, mdiHarddisk } from "@mdi/js";
import { css, html, LitElement, nothing } from "lit";
import { customElement, property, state } from "lit/decorators";
import { formatDateTime } from "../../../common/datetime/format_date_time";
@@ -177,7 +177,7 @@ class HaConfigBackupDetails extends LitElement {
${isLocalAgent(agentId)
? html`
diff --git a/src/state/connection-mixin.ts b/src/state/connection-mixin.ts
index 2a219abccb36..6afb6d277d7f 100644
--- a/src/state/connection-mixin.ts
+++ b/src/state/connection-mixin.ts
@@ -89,7 +89,7 @@ export const connectionMixin = >(
notifyOnError = true,
returnResponse = false
) => {
- if (__DEV__ || this.hass?.debugConnection) {
+ if (this.hass?.debugConnection) {
// eslint-disable-next-line no-console
console.log(
"Calling service",
@@ -115,7 +115,7 @@ export const connectionMixin = >(
) {
return { context: { id: "" } };
}
- if (__DEV__ || this.hass?.debugConnection) {
+ if (this.hass?.debugConnection) {
// eslint-disable-next-line no-console
console.error(
"Error calling service",
@@ -167,7 +167,7 @@ export const connectionMixin = >(
) => fetchWithAuth(auth, `${auth.data.hassUrl}${path}`, init),
// For messages that do not get a response
sendWS: (msg) => {
- if (__DEV__ || this.hass?.debugConnection) {
+ if (this.hass?.debugConnection) {
// eslint-disable-next-line no-console
console.log("Sending", msg);
}
@@ -175,14 +175,14 @@ export const connectionMixin = >(
},
// For messages that expect a response
callWS: (msg) => {
- if (__DEV__ || this.hass?.debugConnection) {
+ if (this.hass?.debugConnection) {
// eslint-disable-next-line no-console
console.log("Sending", msg);
}
const resp = conn.sendMessagePromise(msg);
- if (__DEV__ || this.hass?.debugConnection) {
+ if (this.hass?.debugConnection) {
resp.then(
// eslint-disable-next-line no-console
(result) => console.log("Received", result),