diff --git a/src/panels/config/entities/entity-registry-settings.ts b/src/panels/config/entities/entity-registry-settings.ts index 69a4b5e7b2..0c6ff704df 100644 --- a/src/panels/config/entities/entity-registry-settings.ts +++ b/src/panels/config/entities/entity-registry-settings.ts @@ -356,6 +356,25 @@ export class EntityRegistrySettings extends SubscribeMixin(LitElement) { )} ` : ""} + ${this._helperConfigEntry + ? html` +
+ + ${this.hass.localize( + "ui.dialogs.entity_registry.editor.configure_state", + "integration", + domainToName( + this.hass.localize, + this._helperConfigEntry.domain + ) + )} + +
+ ` + : ""} ` : ""} - ${this._helperConfigEntry - ? html` -
- - ${this.hass.localize( - "ui.dialogs.entity_registry.editor.configure_state" - )} - -
- ` - : ""} - ${this.hass!.localize( - "ui.dialogs.helper_settings.input_select.options" - )}: +
+ ${this.hass!.localize( + "ui.dialogs.helper_settings.input_select.options" + )}: +
${this._options.length ? this._options.map( (option, index) => html` @@ -206,6 +208,10 @@ class HaInputSelectForm extends LitElement { #option_input { margin-top: 8px; } + .header { + margin-top: 8px; + margin-bottom: 8px; + } `, ]; } diff --git a/src/translations/en.json b/src/translations/en.json index fcc5dab6be..af3bb998da 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -858,7 +858,7 @@ "area_note": "By default the entities of a device are in the same area as the device. If you change the area of this entity, it will no longer follow the area of the device.", "follow_device_area": "Follow device area", "change_device_area": "Change device area", - "configure_state": "Configure State" + "configure_state": "{integration} options" } }, "helper_settings": {