From 01eed225922bcf6c9573bd7293de4bb55d79a59c Mon Sep 17 00:00:00 2001 From: Zack Date: Wed, 16 Mar 2022 17:34:09 -0500 Subject: [PATCH] clean up --- src/panels/config/entities/entity-registry-basic-editor.ts | 5 ----- src/panels/config/entities/entity-registry-settings.ts | 5 ----- src/translations/en.json | 2 +- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/panels/config/entities/entity-registry-basic-editor.ts b/src/panels/config/entities/entity-registry-basic-editor.ts index fcf2e7883e..53d98571e9 100644 --- a/src/panels/config/entities/entity-registry-basic-editor.ts +++ b/src/panels/config/entities/entity-registry-basic-editor.ts @@ -8,7 +8,6 @@ import "../../../components/ha-area-picker"; import "../../../components/ha-switch"; import "../../../components/ha-textfield"; import "../../../components/ha-radio"; -import type { HaSwitch } from "../../../components/ha-switch"; import { DeviceRegistryEntry, subscribeDeviceRegistry, @@ -250,10 +249,6 @@ export class HaEntityRegistryBasicEditor extends SubscribeMixin(LitElement) { this._entityId = ev.target.value; } - private _disabledByChanged(ev: Event): void { - this._disabledBy = (ev.target as HaSwitch).checked ? null : "user"; - } - private _viewStatusChanged(ev: CustomEvent): void { switch ((ev.target as any).value) { case "enabled": diff --git a/src/panels/config/entities/entity-registry-settings.ts b/src/panels/config/entities/entity-registry-settings.ts index 76948c4851..5f5ea8b835 100644 --- a/src/panels/config/entities/entity-registry-settings.ts +++ b/src/panels/config/entities/entity-registry-settings.ts @@ -397,11 +397,6 @@ export class EntityRegistrySettings extends SubscribeMixin(LitElement) { } } - private _clearArea() { - this._error = undefined; - this._areaId = null; - } - private _openDeviceSettings() { showDeviceRegistryDetailDialog(this, { device: this._device!, diff --git a/src/translations/en.json b/src/translations/en.json index 23290720f0..9861b3d23b 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -801,7 +801,7 @@ "enabled_description": "Disabled entities will not be added to Home Assistant.", "enabled_delay_confirm": "The enabled entities will be added to Home Assistant in {delay} seconds", "enabled_restart_confirm": "Restart Home Assistant to finish enabling the entities", - "hidden_description": "Hidden entities will not be shown in Home Assistant UI.", + "hidden_description": "Hidden entities will not be shown on your dashboard. Their history is still tracked and you can still interact with them with services.", "delete": "Delete", "confirm_delete": "Are you sure you want to delete this entity?", "update": "Update",