mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 22:36:51 +00:00
Remove scan_interval warning in PVOutput docs (#17355)
This commit is contained in:
parent
596a2056fa
commit
948e304880
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user