We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c804da8 commit 8c6f36cCopy full SHA for 8c6f36c
custom_components/python_script/services.yaml
@@ -1,5 +1,3 @@
1
-# Describes the format for available python_script services
2
-
3
exec:
4
name: Exec
5
description: Run python code from file or from source
@@ -8,11 +6,17 @@ exec:
8
6
name: File
9
7
description: Relative path to file (optional)
10
example: path_to/filename.py
+ selector:
+ text:
11
source:
12
name: Source
13
description: Source of python script (optional)
14
example: "logger.warning('Hello from script')"
15
16
17
cache:
18
name: Cache
19
description: Use cache when loading code (optional, default true)
20
example: true
21
22
+ boolean:
0 commit comments