Growatt server - Change documentation to reflect support for config flow (#14998)

This commit is contained in:
indykoning 2021-05-14 10:22:34 +02:00 committed by GitHub
parent a583f5d812
commit 9d786747e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,52 +18,4 @@ This is a sensor to collect information from your Growatt inverters using [Growa
This will log into your Growatt account and grab the first "Plant", after which it collects the inverters on this plant and creates sensors for these inverters as well as total sensors.
## Configuration
Add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: growatt_server
username: GROWATT_SERVER_USERNAME
password: GROWATT_SERVER_PASSWORD
```
{% configuration %}
username:
description: The username used to log into Growatt server.
required: true
type: string
password:
description: The password used to log into Growatt server.
required: true
type: string
plant_id:
description: The plant id to use in case you have multiple plants on your account.
required: false
type: integer
default: 0
name:
description: Name of the sensor to use in the frontend.
required: false
default: Growatt
type: string
{% endconfiguration %}
## Example with multiple plants
```yaml
# Example configuration.yaml entry
sensor:
- platform: growatt_server
name: "growatt home"
plant_id: 12345678
username: username
password: password
- platform: growatt_server
name: "growatt work"
plant_id: 87654321
username: username
password: password
```
{% include integrations/config_flow.md %}