Skip to content

Commit

Permalink
Create services.yaml for python_script and script (#23201)
Browse files Browse the repository at this point in the history
* Create services.yaml for python_script

* Create services.yaml for script
  • Loading branch information
arsaboo authored and balloob committed Apr 20, 2019
1 parent 9c9b25d commit ad5d4bb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
4 changes: 4 additions & 0 deletions homeassistant/components/python_script/services.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Describes the format for available python_script services

reload:
description: Reload all available python_scripts
25 changes: 25 additions & 0 deletions homeassistant/components/script/services.yaml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit ad5d4bb

Please sign in to comment.