Small fixes for actions (#11850)

This commit is contained in:
Paulus Schoutsen 2022-02-24 21:48:54 -08:00 committed by GitHub
parent 04ae8c9d14
commit f0c4b92dbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 6 deletions

View File

@ -145,7 +145,7 @@ export class HaDeviceAction extends LitElement {
static styles = css` static styles = css`
ha-device-picker { ha-device-picker {
display: block; display: block;
margin-bottom: 24px; margin-bottom: 16px;
} }
ha-device-action-picker { ha-device-action-picker {
display: block; display: block;

View File

@ -50,7 +50,7 @@ export class HaEventAction extends LitElement implements ActionElement {
<ha-yaml-editor <ha-yaml-editor
.hass=${this.hass} .hass=${this.hass}
.label=${this.hass.localize( .label=${this.hass.localize(
"ui.panel.config.automation.editor.actions.type.event.service_data" "ui.panel.config.automation.editor.actions.type.event.event_data"
)} )}
.name=${"event_data"} .name=${"event_data"}
.defaultValue=${event_data} .defaultValue=${event_data}

View File

@ -162,8 +162,8 @@ export class HaRepeatAction extends LitElement implements ActionElement {
return [ return [
haStyle, haStyle,
css` css`
ha-select { ha-textfield {
margin-top: 8px; margin-top: 16px;
} }
`, `,
]; ];

View File

@ -33,7 +33,6 @@ export class HaWaitForTriggerAction
.value=${timeout || ""} .value=${timeout || ""}
@change=${this._valueChanged} @change=${this._valueChanged}
></ha-textfield> ></ha-textfield>
<br />
<ha-formfield <ha-formfield
.label=${this.hass.localize( .label=${this.hass.localize(
"ui.panel.config.automation.editor.actions.type.wait_for_trigger.continue_timeout" "ui.panel.config.automation.editor.actions.type.wait_for_trigger.continue_timeout"

View File

@ -1863,7 +1863,7 @@
"event": { "event": {
"label": "Fire event", "label": "Fire event",
"event": "[%key:ui::panel::config::automation::editor::triggers::type::event::label%]", "event": "[%key:ui::panel::config::automation::editor::triggers::type::event::label%]",
"service_data": "[%key:ui::components::service-control::service_data%]" "event_data": "[%key:ui::panel::config::automation::editor::triggers::type::event::event_data%]"
}, },
"device_id": { "device_id": {
"label": "Device", "label": "Device",