Add missing timeout to command_line platforms: cover, notify, switch (#14141)

This commit is contained in:
J. Nick Koston 2020-08-04 17:00:21 -10:00 committed by GitHub
parent bee6b53417
commit 14ac31cffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 0 deletions

View File

@ -62,6 +62,11 @@ covers:
description: The name used to display the cover in the frontend. description: The name used to display the cover in the frontend.
required: false required: false
type: string type: string
command_timeout:
description: Defines number of seconds for command timeout.
required: false
type: integer
default: 15
{% endconfiguration %} {% endconfiguration %}
## Examples ## Examples

View File

@ -29,6 +29,11 @@ command:
description: The action to take. description: The action to take.
required: true required: true
type: string type: string
command_timeout:
description: Defines number of seconds for command timeout.
required: false
type: integer
default: 15
{% endconfiguration %} {% endconfiguration %}
To use notifications, please see the [getting started with automation page](/getting-started/automation/). To use notifications, please see the [getting started with automation page](/getting-started/automation/).

View File

@ -56,6 +56,11 @@ switches:
description: The name used to display the switch in the frontend. description: The name used to display the switch in the frontend.
required: false required: false
type: string type: string
command_timeout:
description: Defines number of seconds for command timeout.
required: false
type: integer
default: 15
{% endconfiguration %} {% endconfiguration %}
A note on `friendly_name`: A note on `friendly_name`: