mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-28 07:17:21 +00:00
clean up
This commit is contained in:
parent
94ebb63589
commit
01eed22592
@ -8,7 +8,6 @@ import "../../../components/ha-area-picker";
|
|||||||
import "../../../components/ha-switch";
|
import "../../../components/ha-switch";
|
||||||
import "../../../components/ha-textfield";
|
import "../../../components/ha-textfield";
|
||||||
import "../../../components/ha-radio";
|
import "../../../components/ha-radio";
|
||||||
import type { HaSwitch } from "../../../components/ha-switch";
|
|
||||||
import {
|
import {
|
||||||
DeviceRegistryEntry,
|
DeviceRegistryEntry,
|
||||||
subscribeDeviceRegistry,
|
subscribeDeviceRegistry,
|
||||||
@ -250,10 +249,6 @@ export class HaEntityRegistryBasicEditor extends SubscribeMixin(LitElement) {
|
|||||||
this._entityId = ev.target.value;
|
this._entityId = ev.target.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
private _disabledByChanged(ev: Event): void {
|
|
||||||
this._disabledBy = (ev.target as HaSwitch).checked ? null : "user";
|
|
||||||
}
|
|
||||||
|
|
||||||
private _viewStatusChanged(ev: CustomEvent): void {
|
private _viewStatusChanged(ev: CustomEvent): void {
|
||||||
switch ((ev.target as any).value) {
|
switch ((ev.target as any).value) {
|
||||||
case "enabled":
|
case "enabled":
|
||||||
|
@ -397,11 +397,6 @@ export class EntityRegistrySettings extends SubscribeMixin(LitElement) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private _clearArea() {
|
|
||||||
this._error = undefined;
|
|
||||||
this._areaId = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private _openDeviceSettings() {
|
private _openDeviceSettings() {
|
||||||
showDeviceRegistryDetailDialog(this, {
|
showDeviceRegistryDetailDialog(this, {
|
||||||
device: this._device!,
|
device: this._device!,
|
||||||
|
@ -801,7 +801,7 @@
|
|||||||
"enabled_description": "Disabled entities will not be added to Home Assistant.",
|
"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_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",
|
"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",
|
"delete": "Delete",
|
||||||
"confirm_delete": "Are you sure you want to delete this entity?",
|
"confirm_delete": "Are you sure you want to delete this entity?",
|
||||||
"update": "Update",
|
"update": "Update",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user