Skip to content

Commit 7bc4c12

Browse files
authored
Merge pull request #708 from BastiaanBergman/patch-1
Update tutorial.rst
2 parents 2127188 + 677dfff commit 7bc4c12

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/tutorial.rst

+6-3
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,16 @@ can use any filename, so long as it ends in ``.py``) that contains:
3939
elif action == "fire" and id is not None:
4040
event.fire(id, param1=12, param2=80)
4141
42-
After starting Home Assistant, use the Service tab in the Developer
42+
After starting Home Assistant, use the Actions tab in the Developer
4343
Tools page to call the service ``pyscript.hello_world`` with parameters
4444

4545
.. code:: yaml
4646
47-
action: hello
48-
id: world
47+
action: pyscript.hello_world
48+
data:
49+
action: hello
50+
id: world
51+
4952

5053
The function decorator ``@service`` means ``pyscript.hello_world`` is
5154
registered as a service. The expected service parameters are keyword

0 commit comments

Comments
 (0)