This commit is contained in:
Zack 2022-03-16 17:34:09 -05:00
parent 94ebb63589
commit 01eed22592
3 changed files with 1 additions and 11 deletions

View File

@ -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":

View File

@ -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!,

View File

@ -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",