mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +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_iot_class: Cloud Polling
|
||||||
ha_codeowners:
|
ha_codeowners:
|
||||||
- '@fabaff'
|
- '@fabaff'
|
||||||
|
- '@frenck'
|
||||||
|
ha_config_flow: true
|
||||||
ha_domain: pvoutput
|
ha_domain: pvoutput
|
||||||
ha_platforms:
|
ha_platforms:
|
||||||
- sensor
|
- 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
|
## Extracting data into separate sensors
|
||||||
# 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 %}
|
|
||||||
|
|
||||||
To format the PVoutput sensor it's recommended to use the [template component](/topics/templating/). For example:
|
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