Skip to content

Commit 97cc387

Browse files
author
Robert Schindler
committed
[schedy] Completed generic2 actor sample config in docs
1 parent 51504f8 commit 97cc387

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/apps/schedy/actors/generic2/config.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
WORK IN PROGRESS
2-
31
# Here you configure the attributes of the entity to be controlled by the schedule.
42
attributes:
53
# The attribute to be controlled, this could be e.g. "state" or "brightness".
@@ -28,10 +26,17 @@ values:
2826
calls:
2927
# Which service to call
3028
- service: ...
31-
# Optionally, provide service data.
29+
# Optionally, provide a mapping with data to be passed with the service call.
30+
# You can use "{attr1}" as a placeholder for the value set for the first attribute,
31+
# "{attr2}" for the value of the second attribute and so on to pass the correct
32+
# attribute values to the service call as needed in order to bring the entity
33+
# to the state represented by the value you returned from your schedule.
3234
data:
35+
param1: "value1"
36+
param2: "{attr2}"
3337
# Set to false if you don't want the entity_id field to be included in service data.
3438
#include_entity_id: true
39+
3540
# More values#
3641
- ...
3742

0 commit comments

Comments
 (0)