Remove scan_interval warning in PVOutput docs (#17355)

This commit is contained in:
Hmmbob 2021-04-09 10:31:38 +02:00 committed by GitHub
parent 596a2056fa
commit 948e304880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ sensor:
- platform: pvoutput - platform: pvoutput
system_id: YOUR_SYSTEM_ID system_id: YOUR_SYSTEM_ID
api_key: YOUR_API_KEY api_key: YOUR_API_KEY
scan_interval: 120
``` ```
{% configuration %} {% configuration %}
@ -41,12 +40,6 @@ name:
type: string type: string
{% endconfiguration %} {% endconfiguration %}
<div class='note warning'>
It's recommended to set `scan_interval:` according to a value greater than 60 seconds. The service only allows 60 requests per hour but the sensor's default is 30 seconds.
</div>
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:
{% raw %} {% raw %}
@ -56,7 +49,6 @@ sensor:
- platform: pvoutput - platform: pvoutput
system_id: YOUR_SYSTEM_ID system_id: YOUR_SYSTEM_ID
api_key: YOUR_API_KEY api_key: YOUR_API_KEY
scan_interval: 150
- platform: template - platform: template
sensors: sensors:
power_consumption: power_consumption: