mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add configuration flow to PVOutput (#20837)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
b0d25401a2
commit
ff67f31357
@ -7,38 +7,18 @@ ha_release: 0.33
|
||||
ha_iot_class: Cloud Polling
|
||||
ha_codeowners:
|
||||
- '@fabaff'
|
||||
- '@frenck'
|
||||
ha_config_flow: true
|
||||
ha_domain: pvoutput
|
||||
ha_platforms:
|
||||
- sensor
|
||||
---
|
||||
|
||||
The `pvoutput` sensor platform consumes information from [PVOutput](https://pvoutput.org/) which were uploaded by your solar photovoltaic (PV) system.
|
||||
The PVOutput integration consumes information from [PVOutput](https://pvoutput.org/) which was uploaded by your solar photovoltaic (PV) system.
|
||||
|
||||
To add PVOutput details to your installation, add the following to your `configuration.yaml` file:
|
||||
{% include integrations/config_flow.md %}
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
- platform: pvoutput
|
||||
system_id: YOUR_SYSTEM_ID
|
||||
api_key: YOUR_API_KEY
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
api_key:
|
||||
description: Your API key. A read-only key is fine.
|
||||
required: true
|
||||
type: string
|
||||
system_id:
|
||||
description: The ID of your station.
|
||||
required: true
|
||||
type: string
|
||||
name:
|
||||
description: Name of the sensor.
|
||||
required: false
|
||||
default: PVOutput
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
## Extracting data into separate sensors
|
||||
|
||||
To format the PVoutput sensor it's recommended to use the [template component](/topics/templating/). For example:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user