4
4
This HACS custom integration allows you to write Python functions and
5
5
scripts that can implement a wide range of automation, logic and
6
6
triggers. State variables are bound to Python variables and services are
7
- callable as Python functions, so it’ s easy and concise to implement
7
+ callable as Python functions, so it' s easy and concise to implement
8
8
logic.
9
9
10
10
Functions you write can be configured to be called as a service or run
@@ -16,7 +16,7 @@ as small programs that run in parallel, independently of each other, and
16
16
they could be active for extended periods of time.
17
17
18
18
State, event and time triggers are specified by Python function
19
- decorators (the “@” lines immediately before each function definition).
19
+ decorators (the "@" lines immediately before each function definition).
20
20
A state trigger can be any Python expression using state variables - the
21
21
trigger is evaluated only when a state variable it references changes,
22
22
and the trigger occurs when the expression is true or non-zero. A time
@@ -30,7 +30,7 @@ Python trigger test based on the event data that runs the Python
30
30
function if true.
31
31
32
32
Pyscript implements a Python interpreter using the ast parser output, in
33
- a fully async manner. That allows several of the “ magic” features to be
33
+ a fully async manner. That allows several of the " magic" features to be
34
34
implemented in a seamless Pythonic manner, such as binding of variables
35
35
to states and functions to services. Pyscript supports imports, although
36
36
by default the valid import list is restricted for security reasons
0 commit comments