Skip to content

Commit

Permalink
Merge pull request #169 from vincentwolsink/less_caching
Browse files Browse the repository at this point in the history
Disable cache on production_power and inventory endpoints
  • Loading branch information
vincentwolsink authored Oct 30, 2024
2 parents d92c69c + a5b8a1b commit 0cabe47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/enphase_envoy/envoy_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"production_power": {
"url": "https://{}/ivp/mod/603980032/mode/power",
"cache": 300,
"cache": 0,
"installer_required": True,
"optional": True,
},
Expand Down Expand Up @@ -65,7 +65,7 @@
# Inverter endpoints
"inventory": {
"url": "https://{}/inventory.json",
"cache": 300,
"cache": 0,
"installer_required": False,
"optional": False,
},
Expand Down

0 comments on commit 0cabe47

Please sign in to comment.