Entity Status

This commit is contained in:
Zack 2022-03-16 17:38:38 -05:00
parent 01eed22592
commit dde1c5e03c
3 changed files with 7 additions and 4 deletions

View File

@ -158,7 +158,7 @@ export class HaEntityRegistryBasicEditor extends SubscribeMixin(LitElement) {
> >
<div class="label"> <div class="label">
${this.hass.localize( ${this.hass.localize(
"ui.dialogs.entity_registry.editor.view_status" "ui.dialogs.entity_registry.editor.entity_status"
)}: )}:
</div> </div>
<div class="secondary"> <div class="secondary">
@ -287,6 +287,9 @@ export class HaEntityRegistryBasicEditor extends SubscribeMixin(LitElement) {
ha-expansion-panel { ha-expansion-panel {
margin-top: 8px; margin-top: 8px;
} }
.label {
margin-top: 16px;
}
`; `;
} }
} }

View File

@ -223,7 +223,7 @@ export class EntityRegistrySettings extends SubscribeMixin(LitElement) {
> >
<div class="label"> <div class="label">
${this.hass.localize( ${this.hass.localize(
"ui.dialogs.entity_registry.editor.view_status" "ui.dialogs.entity_registry.editor.entity_status"
)}: )}:
</div> </div>
<div class="secondary"> <div class="secondary">

View File

@ -789,11 +789,11 @@
} }
}, },
"unavailable": "This entity is unavailable.", "unavailable": "This entity is unavailable.",
"view_status": "Entity view status", "entity_status": "Entity status",
"change_area": "Change Area", "change_area": "Change Area",
"enabled_label": "Enabled", "enabled_label": "Enabled",
"disabled_label": "Disabled", "disabled_label": "Disabled",
"enabled_cause": "Cannot change view status. Disabled by {cause}.", "enabled_cause": "Cannot change status. Disabled by {cause}.",
"hidden_label": "Hidden", "hidden_label": "Hidden",
"hidden_cause": "Hidden by {cause}.", "hidden_cause": "Hidden by {cause}.",
"device_disabled": "The device of this entity is disabled.", "device_disabled": "The device of this entity is disabled.",