mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 06:47:09 +00:00
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:
parent
4be30f7c88
commit
0eb8c77889
4
homeassistant/components/python_script/services.yaml
Normal file
4
homeassistant/components/python_script/services.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Describes the format for available python_script services
|
||||||
|
|
||||||
|
reload:
|
||||||
|
description: Reload all available python_scripts
|
25
homeassistant/components/script/services.yaml
Normal file
25
homeassistant/components/script/services.yaml
Normal file
@ -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'
|
Loading…
x
Reference in New Issue
Block a user