diff --git a/js/panel-config/automation.js b/js/panel-config/automation.js index 0b9f9197f2..3793fd7830 100644 --- a/js/panel-config/automation.js +++ b/js/panel-config/automation.js @@ -42,7 +42,7 @@ export default class Automation extends Component { }); } - render({ automation, isWide, hass }) { + render({ automation, isWide, hass, localize }) { const { alias, trigger, condition, action } = automation; @@ -52,12 +52,12 @@ export default class Automation extends Component { {alias} - Use automations to bring your home alive. + {localize('ui.panel.config.automation.editor.introduction')}
- Triggers + {localize('ui.panel.config.automation.editor.triggers.header')} - Triggers are what starts the processing of an automation rule. - It is possible to specify multiple triggers for the same rule. - Once a trigger starts, Home Assistant will validate the conditions, - if any, and call the action. -

- Learn more about triggers. -

+
- Conditions + {localize('ui.panel.config.automation.editor.conditions.header')} - Conditions are an optional part of an automation rule and can be used to prevent - an action from happening when triggered. Conditions look very similar to triggers - but are very different. A trigger will look at events happening in the system - while a condition only looks at how the system looks right now. A trigger can - observe that a switch is being turned on. A condition can only see if a switch - is currently on or off. -

- Learn more about conditions. -

+
- Action + {localize('ui.panel.config.automation.editor.actions.header')} - The actions are what Home Assistant will do when the automation is triggered. -

- Learn more about actions. -

+