From ad5d4bbf51e3dcb6081877b0d0c2e17661d21266 Mon Sep 17 00:00:00 2001 From: Alok Saboo Date: Thu, 18 Apr 2019 16:10:25 -0400 Subject: [PATCH] Create services.yaml for python_script and script (#23201) * Create services.yaml for python_script * Create services.yaml for script --- .../components/python_script/services.yaml | 4 +++ homeassistant/components/script/services.yaml | 25 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 homeassistant/components/python_script/services.yaml create mode 100644 homeassistant/components/script/services.yaml diff --git a/homeassistant/components/python_script/services.yaml b/homeassistant/components/python_script/services.yaml new file mode 100644 index 0000000000..835f640248 --- /dev/null +++ b/homeassistant/components/python_script/services.yaml @@ -0,0 +1,4 @@ +# Describes the format for available python_script services + +reload: + description: Reload all available python_scripts diff --git a/homeassistant/components/script/services.yaml b/homeassistant/components/script/services.yaml new file mode 100644 index 0000000000..736b0ec71c --- /dev/null +++ b/homeassistant/components/script/services.yaml @@ -0,0 +1,25 @@ +# Describes the format for available python_script services + +reload: + description: Reload all the available scripts + +turn_on: + description: Turn on script + fields: + entity_id: + description: Name(s) of script to be turned on. + example: 'script.arrive_home' + +turn_off: + description: Turn off script + fields: + entity_id: + description: Name(s) of script to be turned off. + example: 'script.arrive_home' + +toggle: + description: Toggle script + fields: + entity_id: + description: Name(s) of script to be toggled. + example: 'script.arrive_home'