From 16b440cd7ce5190dc34fd977972ab62f8b1c8be9 Mon Sep 17 00:00:00 2001 From: Brynley McDonald Date: Mon, 11 May 2020 07:29:53 +1200 Subject: [PATCH] Add documentation for Flick Electric sensor (#11716) --- source/_integrations/flick_electric.markdown | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 source/_integrations/flick_electric.markdown diff --git a/source/_integrations/flick_electric.markdown b/source/_integrations/flick_electric.markdown new file mode 100644 index 00000000000..0fb5223e9d9 --- /dev/null +++ b/source/_integrations/flick_electric.markdown @@ -0,0 +1,30 @@ +--- +title: Flick Electric +description: Instructions on how to set up the Flick Electric Pricing sensor in Home Assistant. +ha_category: + - Energy +ha_release: '0.110' +ha_iot_class: Cloud Polling +ha_codeowners: + - '@ZephireNZ' +ha_domain: flick_electric +--- + +[Flick Electric Co](https://www.flickelectric.co.nz/) is a power company in New Zealand, based around a transparent pricing model where each component of pricing is provided. This integration uses the mobile app's API from Flick Electric Co to get the current power price as well as each of the components price. + +## Configuration + +This integration can be configured via the Home Assistant frontend. + +- Go to **Configuration** -> **Integrations**. +- Click on the `+` in the bottom right corner to add a new integration. +- Search and select the **Flick Electric** integration form the list. +- Follow the instruction on screen to add the sensor. + +
+ +The configuration uses the client ID and secret used by the app at the time of release. If this stops working, you can find the new ones by using a MITM proxy with the mobile app. The app will call `https://api.flick.energy/identity/oauth/token` with the `client_id` and `client_secret`. + +You can then use these values during the configuration. + +