@@ -24,14 +24,28 @@ Supported units:
24
24
- Harmony Elite
25
25
26
26
27
- To use your Harmony remote in your installation, add the following to your ` configuration.yaml ` file:
27
+ The preferred way to setup the Harmony remote is by enabling the [ discovery component] ( /components/discovery/ ) .
28
+
29
+ You can override some discovered values (e.g. the ` port ` or ` activity ` ) by adding a ` configuration.yaml ` setting.
30
+ In this case the ` name ` used in the config must match exactly the name you have chosen for your hub. You must also leave the ` host `
31
+ setting empty to force the platform to discover the host IP automatically.
32
+
33
+ If you want to manually configure all device settings, you will need to add its settings to your ` configuration.yaml ` .
28
34
29
35
``` yaml
30
- # Example configuration.yaml entry
36
+ # Example configuration.yaml entry if you need any manual configuration
31
37
remote :
38
+ # Specifying a hub manually, without discovery
32
39
- platform : harmony
33
40
name : Bedroom
34
41
host : 10.168.1.13
42
+
43
+ # Overriding some discovered settings, note no host setting!
44
+ - platform : harmony
45
+ # name - This name must match the name you have set on the Hub
46
+ name : Living Room
47
+ # activity - The setting we want to use for the discovered Hub
48
+ activity : Watch TV
35
49
` ` `
36
50
37
51
Configuration variables:
@@ -134,12 +148,12 @@ automation:
134
148
data_template:
135
149
# using a data template to have if brances for relavant device
136
150
# Always the same entity_id - the harmony hub
137
- entity_id: remote.bedroom
151
+ entity_id: remote.bedroom
138
152
# Always the same command - the Pause key
139
153
command: Pause
140
154
# select device based upon the activity being undertaken.
141
155
device: >
142
- # when in WATCH TV activity, the pause key relates to a TiVo, which is device 22987101
156
+ # when in WATCH TV activity, the pause key relates to a TiVo, which is device 22987101
143
157
{% raw %}{% if is_state("sensor.bedroom", "WATCH TV") %}{% raw %}
144
158
22987101
145
159
# when in WATCH APPLE TV activity, the pause key relates to an Apple TV, which is device 23002316
0 commit comments