Update JuiceNet docs for Config Flow (#13051)

This commit is contained in:
Jesse Hills 2020-05-08 23:13:17 +12:00 committed by GitHub
parent 48320983dd
commit dfc641e2a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
--- ---
title: JuiceNet title: JuiceNet
description: Instructions on how to setup WiFi-equipped Juicenet charging stations with Home Assistant. description: Instructions on how to setup WiFi-equipped JuiceNet/JuiceBox charging stations with Home Assistant.
ha_category: ha_category:
- Car - Car
- Energy - Energy
@ -11,13 +11,16 @@ ha_release: 0.47
ha_codeowners: ha_codeowners:
- '@jesserockz' - '@jesserockz'
ha_domain: juicenet ha_domain: juicenet
ha_config_flow: true
--- ---
The `juicenet` sensor platform pulls data from a [JuiceNet](https://emotorwerks.com/products/juicenet/) charging station equipped with a Wi-Fi connection. It will access and make available all of the devices attached to your account. It also exposes a switch allowing you to charge your car now instead of waiting for the pre-set schedule. The `juicenet` platform pulls data from a [JuiceNet](https://evcharging.enelx.com/products/juicebox) charging station equipped with a Wi-Fi connection. It will access and make available all of the devices attached to your account. It also exposes a switch allowing you to charge your car now instead of waiting for the pre-set schedule.
## Configuration ## Configuration
To enable the platform in your installation, add the following to your `configuration.yaml` file: To add `JuiceNet` go to **Configuration** >> **Integrations** in the UI, click the button with `+` sign and from the list of integrations select **JuiceNet**.
Alternatively, add the following to your `configuration.yaml` file:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
@ -27,14 +30,14 @@ juicenet:
{% configuration %} {% configuration %}
access_token: access_token:
description: "Your eMotorWerks API Token can be found in the [dashboard](https://dashboard.emotorwerks.com/Manage)." description: "Your JuiceNet API Token can be found in the [dashboard](https://home.juice.net/Manage)."
required: true required: true
type: string type: string
{% endconfiguration %} {% endconfiguration %}
## Sensor ## Sensor
The `juicenet` sensor platform allows you to get data from your [JuiceNet](https://emotorwerks.com/products/juicenet/) sensors. The `juicenet` sensor platform allows you to get data from your [JuiceNet](https://evcharging.enelx.com/products/juicebox) charger.
### Added sensors ### Added sensors