@@ -67,6 +67,11 @@ delay_secs:
67
67
description : Default duration in seconds between sending commands to a device.
68
68
required : false
69
69
type : float
70
+ default : 0.4
71
+ hold_secs :
72
+ description : Default duration in seconds between sending the "press" command and sending the "release" command.
73
+ required : false
74
+ default : 0
70
75
{% endconfiguration %}
71
76
72
77
# ## {% linkable_title Configuration file %}
@@ -77,23 +82,23 @@ Upon startup one file will be written to your Home Assistant configuration direc
77
82
- List of all programmed device names and ID numbers
78
83
- List of all available commands per programmed device
79
84
80
- This file will be overwritten whenever the Harmony HUB has a new configuration, there is no need to restart HASS .
85
+ This file will be overwritten whenever the Harmony HUB has a new configuration, there is no need to restart Home Assistant .
81
86
82
87
# ## {% linkable_title Service `remote.turn_off` %}
83
88
84
89
Turn off all devices that were switched on from the start of the current activity.
85
90
86
91
| Service data attribute | Optional | Description |
87
92
| ---------------------- | -------- | ----------- |
88
- | `entity_id` | yes | Only act on a specific remote, else target all .
93
+ | `entity_id` | no | Entity ID to target.
89
94
90
95
# ## {% linkable_title Service `remote.turn_on` %}
91
96
92
97
Start an activity. Will start the default `activity` from configuration.yaml if no activity is specified. The specified activity can either be the activity name or the activity ID from the configuration file written to your [Home Assistant configuration directory](/docs/configuration/).
93
98
94
99
| Service data attribute | Optional | Description |
95
100
| ---------------------- | -------- | ----------- |
96
- | `entity_id` | yes | Only act on a specific remote, else target all .
101
+ | `entity_id` | no | Entity ID to target.
97
102
| `activity` | yes | Activity ID or Activity Name to start.
98
103
99
104
# #### {% linkable_title Example %}
@@ -127,7 +132,7 @@ Send a single command or a set of commands to one device, device ID and availabl
127
132
128
133
| Service data attribute | Optional | Description |
129
134
| ---------------------- | -------- | ----------- |
130
- | `entity_id` | yes | Only act on a specific remote, else target all .
135
+ | `entity_id` | no | Entity ID to target.
131
136
| `device` | no | Device ID or Device Name to send the command to.
132
137
| `command` | no | A single command or a list of commands to send.
133
138
| `num_repeats` | yes | The number of times to repeat the command(s).
@@ -159,7 +164,6 @@ In the file 'harmony_REMOTENAME.conf' you can find the available devices and com
159
164
}
160
165
` ` `
161
166
162
-
163
167
A typical service call for sending several button presses looks like this :
164
168
165
169
` ` ` yaml
@@ -190,7 +194,7 @@ Sends the change channel command to the Harmony HUB
190
194
191
195
| Service data attribute | Optional | Description |
192
196
| ---------------------- | -------- | ----------- |
193
- | `entity_id` | no | Only act on a specific remote, else target all .
197
+ | `entity_id` | no | Entity ID to target.
194
198
| `channel` | no | Channel number to change to
195
199
196
200
A typical service call for changing the channel would be: :
@@ -208,7 +212,7 @@ Force synchronization between the Harmony device and the Harmony cloud.
208
212
209
213
| Service data attribute | Optional | Description |
210
214
| ---------------------- | -------- | ----------- |
211
- | `entity_id` | yes | Only act on a specific remote, else target all .
215
+ | `entity_id` | no | Entity ID to target.
212
216
213
217
# ## {% linkable_title Examples %}
214
218
0 commit comments