mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
Updated harmony configuration to use configuration variables (#6622)
This commit is contained in:
parent
a39d89e86f
commit
731e63f7b5
@ -43,15 +43,31 @@ You can override some default configuration values on a discovered hub (e.g., th
|
||||
activity: Watch TV
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
{% configuration %}
|
||||
name:
|
||||
description: The hub's name to display in the frontend. This name must match the name you have set on the Hub.
|
||||
required: true
|
||||
type: string
|
||||
host:
|
||||
description: The Harmony device's IP address. Leave empty for the IP to be discovered automatically.
|
||||
required: false
|
||||
type: string
|
||||
port:
|
||||
description: The Harmony device's port.
|
||||
required: false
|
||||
type: integer
|
||||
default: 5222
|
||||
activity:
|
||||
description: Activity to use when `turn_on` service is called without any data. Overrides the `activity` setting for this discovered hub.
|
||||
required: false
|
||||
type: string
|
||||
delay_secs:
|
||||
description: Default duration in seconds between sending commands to a device.
|
||||
required: false
|
||||
type: float
|
||||
{% endconfiguration %}
|
||||
|
||||
- **name** (*Required*): The hub's name to display in the frontend. This name must match the name you have set on the Hub.
|
||||
- **host** (*Optional*): The Harmony device's IP address. Leave empty for the IP to be discovered automatically.
|
||||
- **port** (*Optional*): The Harmony device's port. Defaults to 5222.
|
||||
- **activity** (*Optional*): Activity to use when `turn_on` service is called without any data. Overrides the `activity` setting for this discovered hub.
|
||||
- **delay_secs** (*Optional*): Default duration in seconds between sending commands to a device.
|
||||
|
||||
Configuration file:
|
||||
### {% linkable_title Configuration file %}
|
||||
|
||||
Upon startup one file will be written to your Home Assistant configuration directory per device in the following format: `harmony_REMOTENAME.conf`. The file will contain:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user