From ff67f313571a7b63a97685793ca1c8a672ca2f43 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 27 Dec 2021 22:21:32 +0100 Subject: [PATCH] Add configuration flow to PVOutput (#20837) Co-authored-by: Martin Hjelmare --- source/_integrations/pvoutput.markdown | 30 +++++--------------------- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/source/_integrations/pvoutput.markdown b/source/_integrations/pvoutput.markdown index 62c1c00f6f4..0fb23884786 100644 --- a/source/_integrations/pvoutput.markdown +++ b/source/_integrations/pvoutput.markdown @@ -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: