diff --git a/src/panels/config/helpers/dialog-helper-detail.ts b/src/panels/config/helpers/dialog-helper-detail.ts
index 55ca187975..68a8aa0fa3 100644
--- a/src/panels/config/helpers/dialog-helper-detail.ts
+++ b/src/panels/config/helpers/dialog-helper-detail.ts
@@ -403,7 +403,7 @@ export class DialogHelperDetail extends LitElement {
ha-dialog {
--dialog-content-padding: 0;
--dialog-scroll-divider-color: transparent;
- --mdc-dialog-max-height: 60vh;
+ --mdc-dialog-max-height: 90vh;
}
@media all and (min-width: 550px) {
ha-dialog {
diff --git a/src/panels/config/helpers/forms/dialog-schedule-block-info.ts b/src/panels/config/helpers/forms/dialog-schedule-block-info.ts
index b4815eec10..12dcef4f5c 100644
--- a/src/panels/config/helpers/forms/dialog-schedule-block-info.ts
+++ b/src/panels/config/helpers/forms/dialog-schedule-block-info.ts
@@ -139,7 +139,7 @@ class DialogScheduleBlockInfo extends LitElement {
return this.hass!.localize("ui.dialogs.helper_settings.schedule.data");
case "advanced_settings":
return this.hass!.localize(
- "ui.dialogs.helper_settings.schedule.advanced_settings"
+ "ui.dialogs.helper_settings.generic.advanced_settings"
);
}
return "";
diff --git a/src/panels/config/helpers/forms/ha-counter-form.ts b/src/panels/config/helpers/forms/ha-counter-form.ts
index e0f2e76e4b..79d6d3f2c4 100644
--- a/src/panels/config/helpers/forms/ha-counter-form.ts
+++ b/src/panels/config/helpers/forms/ha-counter-form.ts
@@ -2,6 +2,7 @@ import type { CSSResultGroup } from "lit";
import { css, html, LitElement, nothing } from "lit";
import { customElement, property, state } from "lit/decorators";
import { fireEvent } from "../../../../common/dom/fire_event";
+import "../../../../components/ha-expansion-panel";
import "../../../../components/ha-icon-picker";
import "../../../../components/ha-switch";
import type { HaSwitch } from "../../../../components/ha-switch";
@@ -118,32 +119,35 @@ class HaCounterForm extends LitElement {
"ui.dialogs.helper_settings.counter.initial"
)}
>
- ${this.hass.userData?.showAdvanced
- ? html`
-
-
-
-
-
- ${this.hass.localize(
- "ui.dialogs.helper_settings.counter.restore"
- )}
-
-
- `
- : ""}
+
+
+
+
+
+
+ ${this.hass.localize(
+ "ui.dialogs.helper_settings.counter.restore"
+ )}
+
+
+
`;
}
diff --git a/src/panels/config/helpers/forms/ha-input_number-form.ts b/src/panels/config/helpers/forms/ha-input_number-form.ts
index 9987525b59..7444136ba2 100644
--- a/src/panels/config/helpers/forms/ha-input_number-form.ts
+++ b/src/panels/config/helpers/forms/ha-input_number-form.ts
@@ -2,6 +2,7 @@ import type { CSSResultGroup } from "lit";
import { css, html, LitElement, nothing } from "lit";
import { customElement, property, state } from "lit/decorators";
import { fireEvent } from "../../../../common/dom/fire_event";
+import "../../../../components/ha-expansion-panel";
import "../../../../components/ha-formfield";
import "../../../../components/ha-icon-picker";
import "../../../../components/ha-radio";
@@ -118,58 +119,61 @@ class HaInputNumberForm extends LitElement {
"ui.dialogs.helper_settings.input_number.max"
)}
>
- ${this.hass.userData?.showAdvanced
- ? html`
-
- ${this.hass.localize(
- "ui.dialogs.helper_settings.input_number.mode"
- )}
-
-
-
-
-
-
-
-
+
+
+ ${this.hass.localize(
+ "ui.dialogs.helper_settings.input_number.mode"
+ )}
+
+
+
+
+
+
+
+
-
- `
- : ""}
+
+
`;
}
diff --git a/src/panels/config/helpers/forms/ha-input_text-form.ts b/src/panels/config/helpers/forms/ha-input_text-form.ts
index be979fab0c..4c0c8723f1 100644
--- a/src/panels/config/helpers/forms/ha-input_text-form.ts
+++ b/src/panels/config/helpers/forms/ha-input_text-form.ts
@@ -2,6 +2,7 @@ import type { CSSResultGroup } from "lit";
import { css, html, LitElement, nothing } from "lit";
import { customElement, property, state } from "lit/decorators";
import { fireEvent } from "../../../../common/dom/fire_event";
+import "../../../../components/ha-expansion-panel";
import "../../../../components/ha-form/ha-form";
import "../../../../components/ha-formfield";
import "../../../../components/ha-icon-picker";
@@ -88,72 +89,73 @@ class HaInputTextForm extends LitElement {
"ui.dialogs.helper_settings.generic.icon"
)}
>
- ${this.hass.userData?.showAdvanced
- ? html`
-
-
-
- ${this.hass.localize(
- "ui.dialogs.helper_settings.input_text.mode"
- )}
-
-
-
-
-
-
-
-
- `
- : ""}
+
+
+
+
+ ${this.hass.localize("ui.dialogs.helper_settings.input_text.mode")}
+
+
+
+
+
+
+
+
+
`;
}
@@ -195,10 +197,14 @@ class HaInputTextForm extends LitElement {
.row {
padding: 16px 0;
}
- ha-textfield {
+ ha-textfield,
+ ha-icon-picker {
display: block;
margin: 8px 0;
}
+ ha-expansion-panel {
+ margin-top: 16px;
+ }
`,
];
}
diff --git a/src/translations/en.json b/src/translations/en.json
index ce945bec5d..a6e41823a2 100644
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -1601,7 +1601,8 @@
"required_error_msg": "This field is required",
"generic": {
"name": "Name",
- "icon": "Icon"
+ "icon": "Icon",
+ "advanced_settings": "Advanced settings"
},
"input_datetime": {
"date": "Date",
@@ -1655,8 +1656,7 @@
"edit_schedule_block": "Edit schedule block",
"start": "Start",
"end": "End",
- "data": "Additional data",
- "advanced_settings": "Advanced settings"
+ "data": "Additional data"
},
"template": {
"time": "[%key:ui::panel::developer-tools::tabs::templates::time%]",