mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-17 06:16:33 +00:00
Small fixes for actions (#11850)
This commit is contained in:
parent
04ae8c9d14
commit
f0c4b92dbb
@ -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;
|
||||
|
@ -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}
|
||||
|
@ -162,8 +162,8 @@ export class HaRepeatAction extends LitElement implements ActionElement {
|
||||
return [
|
||||
haStyle,
|
||||
css`
|
||||
ha-select {
|
||||
margin-top: 8px;
|
||||
ha-textfield {
|
||||
margin-top: 16px;
|
||||
}
|
||||
`,
|
||||
];
|
||||
|
@ -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"
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user