Fix wait for trigger (#7089)

This commit is contained in:
Bram Kragten 2020-09-22 10:58:43 +02:00 committed by GitHub
parent b9c41d8f99
commit e7e7912519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ export class HaWaitForTriggerAction extends LitElement
@property() public action!: WaitForTriggerAction; @property() public action!: WaitForTriggerAction;
public static get defaultConfig() { public static get defaultConfig() {
return { wait_for_trigger: [], timeout: "" }; return { wait_for_trigger: [] };
} }
protected render() { protected render() {
@ -35,7 +35,7 @@ export class HaWaitForTriggerAction extends LitElement
<br /> <br />
<ha-formfield <ha-formfield
.label=${this.hass.localize( .label=${this.hass.localize(
"ui.panel.config.automation.editor.actions.type.wait_for_trigger.timeout" "ui.panel.config.automation.editor.actions.type.wait_for_trigger.continue_timeout"
)} )}
> >
<ha-switch <ha-switch