From 3d1d022617347537b04fdb5ec197dd0f273291ff Mon Sep 17 00:00:00 2001 From: Christoffer Graversen Date: Sun, 28 Oct 2018 23:42:11 +0100 Subject: [PATCH] Updated Configuration Variables for DTE Energy Bridge (#7116) * Updated Configuration Variables for DTE Energy Bridge * Updated Configuration Variables for ISY994 Controller * Added default values to Configuration Variables for ISY994 Controller * Added default values to Configuration Variables for DTE Energy Bridge --- source/_components/isy994.markdown | 42 +++++++++++++++---- .../sensor.dte_energy_bridge.markdown | 20 ++++++--- 2 files changed, 48 insertions(+), 14 deletions(-) diff --git a/source/_components/isy994.markdown b/source/_components/isy994.markdown index 1c833178215..23452d0b6b7 100644 --- a/source/_components/isy994.markdown +++ b/source/_components/isy994.markdown @@ -30,15 +30,39 @@ isy994: password: ISY_PASSWORD ``` -Configuration variables: - -- **host** (*Required*): The host entry should be in full URL format, eg. http://192.168.10.100:80 -- **username** (*Required*): The username that used to access the ISY interface. -- **password** (*Required*): The password that used to access the ISY interface. -- **sensor_string** (*Optional*): This is the string that is used to identify which devices are to be assumed to be sensors instead of lights of switches. By default, this string is 'sensor'. If this string is found in the device name or folder, Home Assistant will assume it is as a sensor or binary sensor (if the device has on/off or true/false states). This is only necessary for nodes that are not automatically detected as sensors by Home Assistant. Insteon door, window, motion and leak sensors should all be detected automatically. -- **ignore_string** (*Optional*): Any devices that contain this string in their name (or folder path) will be ignored by Home Assistant. They will not become entities at all. The default value is `{IGNORE ME}`. -- **enable_climate** (*Optional*): When enabled, climate measurements from the optional climate module in the ISY994 will show up in Home Assistant as sensors. The default value is `True`. -- **tls** (*Optional*): This entry should reflect the version of TLS that the ISY controller is using for HTTPS encryption. This value can be either 1.1 or 1.2. If this value is not set, it is assumed to be version 1.1. This is the default for most users. ISY994 Pro users may likely be using 1.2. When using HTTPS in the host entry, it is best practice to set this value. +{% configuration %} +host: + description: The host entry should be in full URL format, eg. http://192.168.10.100:80 + required: true + type: string +username: + description: The username that used to access the ISY interface. + required: true + type: string +password: + description: The password that used to access the ISY interface. + required: true + type: string +sensor_string: + description: This is the string that is used to identify which devices are to be assumed to be sensors instead of lights of switches. If this string is found in the device name or folder, Home Assistant will assume it is as a sensor or binary sensor (if the device has on/off or true/false states). This is only necessary for nodes that are not automatically detected as sensors by Home Assistant. Insteon door, window, motion and leak sensors should all be detected automatically. + required: false + type: string + default: sensor +ignore_string: + description: Any devices that contain this string in their name (or folder path) will be ignored by Home Assistant. They will not become entities at all. + required: false + type: string + default: {IGNORE ME} +enable_climate: + description: When enabled, climate measurements from the optional climate module in the ISY994 will show up in Home Assistant as sensors. + required: false + type: string + default: true +tls: + description: This entry should reflect the version of TLS that the ISY controller is using for HTTPS encryption. This value can be either 1.1 or 1.2. If this value is not set, it is assumed to be version 1.1. This is the default for most users. ISY994 Pro users may likely be using 1.2. When using HTTPS in the host entry, it is best practice to set this value. + required: false + type: string +{% endconfiguration %} Once the ISY controller is configured, it will automatically import any binary sensors, covers, fans, lights, locks, sensors and switches it can locate. diff --git a/source/_components/sensor.dte_energy_bridge.markdown b/source/_components/sensor.dte_energy_bridge.markdown index 80028de606c..66428e62e25 100644 --- a/source/_components/sensor.dte_energy_bridge.markdown +++ b/source/_components/sensor.dte_energy_bridge.markdown @@ -27,8 +27,18 @@ sensor: ip: 192.168.1.11 ``` -Configuration variables: - -- **ip** (*Required*): The IP address of your bridge. -- **name** (*Optional*): Name to use in the frontend. -- **version** (*Optional*): Hardware version of the sensor. Defaults to 1. +{% configuration %} +ip: + description: The IP address of your bridge. + required: true + type: string +name: + description: Name to use in the frontend. + required: false + type: string +version: + description: Hardware version of the sensor. + required: false + type: string + default: 1 +{% endconfiguration %} \ No newline at end of file