Change default automation mode (#6398)

This commit is contained in:
Bram Kragten 2020-07-15 19:56:15 +02:00 committed by GitHub
parent f98cdd0749
commit 21e277b8a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View File

@ -47,7 +47,7 @@ import { HaDeviceTrigger } from "./trigger/types/ha-automation-trigger-device";
import { mdiContentSave } from "@mdi/js"; import { mdiContentSave } from "@mdi/js";
import { PaperListboxElement } from "@polymer/paper-listbox"; import { PaperListboxElement } from "@polymer/paper-listbox";
const MODES = ["parallel", "single", "restart", "queued"]; const MODES = ["single", "restart", "queued", "parallel"];
const MODES_MAX = ["queued", "parallel"]; const MODES_MAX = ["queued", "parallel"];
export class HaAutomationEditor extends LitElement { export class HaAutomationEditor extends LitElement {

View File

@ -45,9 +45,13 @@ class CloudForgotPassword extends LocalizeMixin(EventsMixin(PolymerElement)) {
display: none; display: none;
} }
</style> </style>
<hass-subpage header=[[localize('ui.panel.config.cloud.forgot_password.title')]]> <hass-subpage
header="[[localize('ui.panel.config.cloud.forgot_password.title')]]"
>
<div class="content"> <div class="content">
<ha-card header=[[localize('ui.panel.config.cloud.forgot_password.subtitle')]]> <ha-card
header="[[localize('ui.panel.config.cloud.forgot_password.subtitle')]]"
>
<div class="card-content"> <div class="card-content">
<p> <p>
[[localize('ui.panel.config.cloud.forgot_password.instructions')]] [[localize('ui.panel.config.cloud.forgot_password.instructions')]]

View File

@ -847,10 +847,10 @@
"label": "Mode", "label": "Mode",
"description": "The mode controls what happens when the automation is triggered while the actions are still running from a previous trigger. Check the {documentation_link} for more info.", "description": "The mode controls what happens when the automation is triggered while the actions are still running from a previous trigger. Check the {documentation_link} for more info.",
"documentation": "automation documentation", "documentation": "automation documentation",
"single": "Single", "single": "Single (default)",
"restart": "Restart", "restart": "Restart",
"queued": "Queued", "queued": "Queued",
"parallel": "Parallel (default)" "parallel": "Parallel"
}, },
"max": { "max": {
"queued": "Queue length", "queued": "Queue length",