Create services.yaml for python_script and script (#23201)

* Create services.yaml for python_script

* Create services.yaml for script
This commit is contained in:
Alok Saboo authored and Paulus Schoutsen committed 2019-04-19 17:05:38 -07:00
1 parent 9c9b25d4b9
commit ad5d4bbf51
2 files changed
+29

No files matched your search

@@ -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'