Skip to content

Commit 503196f

Browse files
authored
Update developer_guide.md
1 parent 5041f1e commit 503196f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/developer_guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ To be documented
9797
## Autorepeat mechanism for buttons
9898

9999
A button can have the attribute autorepeat, an attribute that specifies the entity_key of the entity that holds the duration over which the button press will be repeated automatically.
100-
If a button has the autorepeat attribute autorepeat, the button declaration must also have a value_function attribute. The specified value function will be called for each autorepeat loop interation.
101-
The meaning of the parameters of a button value function is:
100+
If a button has the attribute **autorepeat**, the button declaration must also have a value_function attribute. The specified value function will be called for each autorepeat loop interation.
101+
The meaning of the parameters of a button autorepeat value_function is:
102102

103103
* initval: either BUTTONREPEAT_FIRST, BUTTONREPEAT_LOOP, BUTTONREPEAT_POST
104104
* BUTTONREPEAT_FIRST indicates it is the first call, usually a manual button press

0 commit comments

Comments
 (0)