mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Growatt server - Change documentation to reflect support for config flow (#14998)
This commit is contained in:
parent
a583f5d812
commit
9d786747e3
@ -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.
|
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
|
{% include integrations/config_flow.md %}
|
||||||
|
|
||||||
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
|
|
||||||
```
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user