From ce12069456270a46341083462114837ab3746e2d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 30 Sep 2016 20:55:05 +0200 Subject: [PATCH] Minimizing of the configuration sample (#1015) --- .../sensor.dte_energy_bridge.markdown | 1 - source/_components/sensor.efergy.markdown | 19 ++++++++++--------- source/_components/sensor.eliqonline.markdown | 7 +++---- .../_components/sensor.loop_energy.markdown | 7 ++----- source/_components/sensor.ohmconnect.markdown | 4 ++-- 5 files changed, 17 insertions(+), 21 deletions(-) diff --git a/source/_components/sensor.dte_energy_bridge.markdown b/source/_components/sensor.dte_energy_bridge.markdown index 7597c31a749..d4e4d07336f 100644 --- a/source/_components/sensor.dte_energy_bridge.markdown +++ b/source/_components/sensor.dte_energy_bridge.markdown @@ -21,7 +21,6 @@ To enable this sensor, add the following lines to your `configuration.yaml` file sensor: - platform: dte_energy_bridge ip: 192.168.1.11 - name: DTE Energy ``` Configuration variables: diff --git a/source/_components/sensor.efergy.markdown b/source/_components/sensor.efergy.markdown index 29bd54204f8..3669b17f51c 100644 --- a/source/_components/sensor.efergy.markdown +++ b/source/_components/sensor.efergy.markdown @@ -10,6 +10,7 @@ footer: true logo: efergy.png ha_category: Energy ha_release: pre 0.7 +ha_iot_class: "Cloud Polling" --- @@ -18,15 +19,15 @@ Integrate your [Efergy](https://efergy.com) meter information into Home Assistan ```yaml # Example configuration.yaml entry sensor: - platform: efergy - app_token: APP_TOKEN - utc_offset: UTC_OFFSET - monitored_variables: - - type: instant_readings - - type: budget - - type: cost - period: day - currency: $ + - platform: efergy + app_token: APP_TOKEN + utc_offset: UTC_OFFSET + monitored_variables: + - type: instant_readings + - type: budget + - type: cost + period: day + currency: $ ``` Configuration variables: diff --git a/source/_components/sensor.eliqonline.markdown b/source/_components/sensor.eliqonline.markdown index 1aa57aa640f..65030c3f416 100644 --- a/source/_components/sensor.eliqonline.markdown +++ b/source/_components/sensor.eliqonline.markdown @@ -10,6 +10,7 @@ footer: true logo: eliq.png ha_category: Energy ha_release: "0.10" +ha_iot_class: "Cloud Polling" --- @@ -20,10 +21,8 @@ To enable this sensor in your installation, add the following to your `configura ```yaml # Example configuration.yaml entry sensor: - platform: eliqonline - access_token: ACCESS_TOKEN - name: Power consumption - channel_id: CHANNEL_ID + - platform: eliqonline + access_token: ACCESS_TOKEN ``` Configuration variables: diff --git a/source/_components/sensor.loop_energy.markdown b/source/_components/sensor.loop_energy.markdown index d7ef5fb3421..544a09e862b 100644 --- a/source/_components/sensor.loop_energy.markdown +++ b/source/_components/sensor.loop_energy.markdown @@ -10,12 +10,11 @@ footer: true logo: loop.png ha_category: Energy ha_release: 0.17 +ha_iot_class: "Local Polling" --- -Integrate your [Loop Energy](https://www.your-loop.com/) meter information into Home Assistant. - -To use this sensor you need the the client serial number and secret keys for your devices. +Integrate your [Loop Energy](https://www.your-loop.com/) meter information into Home Assistant. To use this sensor you need the the client serial number and secret keys for your devices. The library used to get the data isn't officially supported and the only way to get the keys is to log into loop energy's website and type a command into your browser console. @@ -51,8 +50,6 @@ sensor: gas: gas_serial: 'GAS_SERIAL' gas_secret: 'GAS_SECRET' - gas_type: imperial - gas_calorific: 38.2 ``` Configuration variables: diff --git a/source/_components/sensor.ohmconnect.markdown b/source/_components/sensor.ohmconnect.markdown index 9cc10a56258..7f564a76d3c 100644 --- a/source/_components/sensor.ohmconnect.markdown +++ b/source/_components/sensor.ohmconnect.markdown @@ -24,8 +24,8 @@ You can find your OhmConnect ID under "Open Source Projects" on the [settings pa ```yaml # Example configuration.yaml entry sensor: - platform: ohmconnect - id: AbCd1e + - platform: ohmconnect + id: AbCd1e ``` Configuration variables: