From 2f3d4f87875d3caa44e68bfa42b7b93706f6c6a6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Jan 2019 23:30:14 +0100 Subject: [PATCH] Fix Sense docs (#8267) * Remove platform documentation * Minor changes --- source/_components/sense.markdown | 30 ++++++------ source/_components/sensor.sense.markdown | 58 ------------------------ 2 files changed, 15 insertions(+), 73 deletions(-) delete mode 100644 source/_components/sensor.sense.markdown diff --git a/source/_components/sense.markdown b/source/_components/sense.markdown index 63611b0b7be..72028c097e3 100644 --- a/source/_components/sense.markdown +++ b/source/_components/sense.markdown @@ -27,24 +27,24 @@ sense: password: CLIENT_SECRET ``` +{% configuration %} +email: + description: The email associated with your Sense account/application. + required: true + type: string +password: + description: The password for your Sense account/application. + required: true + type: string +timeout: + description: Seconds for timeout of API requests. + required: false + type: positive_int +{% endconfiguration %} + Sensors are added for both usage and production with the following names: - **Active Usage/Production**: Current active power usage/production in Watts. Updated every 60 seconds. - **Daily/Weekly/Monthly Usage/Production**: Daily/Weekly/Monthly power usage/production in kWh. Updated every 5 minutes. Binary sensors are created for each of the devices detected by your Sense monitor to show their power state. - -{% configuration %} -email: - description: The email associated with your Sense account/application. - required: true - type: string -password: - description: The password for your Sense account/application. - required: true - type: string -timeout: - description: Seconds for timeout of API requests - required: false - type: positive_int -{% endconfiguration %} diff --git a/source/_components/sensor.sense.markdown b/source/_components/sensor.sense.markdown deleted file mode 100644 index f66a91a8639..00000000000 --- a/source/_components/sensor.sense.markdown +++ /dev/null @@ -1,58 +0,0 @@ ---- -layout: page -title: Sense -description: "Instructions on how to integrate Sense within Home Assistant." -date: 2018-01-11 13:50 -sidebar: true -comments: false -sharing: true -footer: true -logo: sense.png -ha_category: Energy -ha_iot_class: "Cloud Polling" -ha_release: 0.65 ---- - -Integrate your [Sense](https://sense.com) electricity meter information into Home Assistant. - -## {% linkable_title Configuration %} - -To enable this integration in your installation, add the following to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -sense: - email: CLIENT_ID - password: CLIENT_SECRET -``` - -In addition to binary sensors for individual devices, two types of sensors will be created with the following names: - -- **Active Usage/Production**: Current active power usage/production in Watts. Updated every 1 minute. -- **Daily/Weekly/Monthly/Yearly Usage/Production**: Daily power usage/production in kWh. Updated every 5 minutes. - -{% configuration %} -email: - description: The email associated with your Sense account/application. - required: true - type: string -password: - description: The password for your Sense account/application. - required: true - type: string -timeout: - description: Timeout for the connection in seconds. - required: false - default: 5 - type: integer -{% endconfiguration %} - -Full example: - -```yaml -# Example configuration.yaml entry -sense: - email: CLIENT_ID - password: CLIENT_SECRET - timeout: 5 -```