Skip to content

Commit

Permalink
Merge pull request #103 from vincentwolsink/reduce_production_switch_…
Browse files Browse the repository at this point in the history
…cache

Reduce production switch cache time
  • Loading branch information
vincentwolsink authored Jan 13, 2024
2 parents 0bcfe3b + d230d9b commit b63dfc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/enphase_envoy/envoy_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def url(endpoint, *a, **kw):
# cache for home_json will be set based on grid_status availability
url("home_json_results", ENDPOINT_URL_HOME_JSON)
iurl("devstatus", ENDPOINT_URL_DEVSTATUS, cache=20)
iurl("production_power", ENDPOINT_URL_PRODUCTION_POWER, cache=3600)
iurl("production_power", ENDPOINT_URL_PRODUCTION_POWER, cache=20)
url("info_results", ENDPOINT_URL_INFO_XML, cache=86400)
url("inventory_results", ENDPOINT_URL_INVENTORY, cache=300)
url("production_report", ENDPOINT_URL_PRODUCTION_REPORT, cache=0)
Expand Down

0 comments on commit b63dfc8

Please sign in to comment.