mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +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`
|
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;
|
||||||
|
@ -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}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
@ -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"
|
||||||
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user