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`
ha-device-picker {
display: block;
margin-bottom: 24px;
margin-bottom: 16px;
}
ha-device-action-picker {
display: block;

View File

@ -50,7 +50,7 @@ export class HaEventAction extends LitElement implements ActionElement {
<ha-yaml-editor
.hass=${this.hass}
.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"}
.defaultValue=${event_data}

View File

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

View File

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

View File

@ -1863,7 +1863,7 @@
"event": {
"label": "Fire event",
"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": {
"label": "Device",