Skip to content

Commit 7e32d2c

Browse files
authored
Plugins: add http cache duration
1 parent 28fcee3 commit 7e32d2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/devices/plugins.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ auth: # basic authentication
356356
insecure: false # set to true to trust self-signed certificates
357357
jq: .data.tuples[0][1] # parse response json
358358
scale: 0.001 # factor applied to result, e.g. for kW to W conversion
359+
cache: 60s # response cache duration
359360
timeout: 10s # timeout in golang duration format,
360361
# see https://golang.org/pkg/time/#ParseDuration
361362
```
@@ -534,4 +535,4 @@ plugged:
534535
charging:
535536
source: mqtt
536537
topic: openWB/lp/1/boolChargeStat
537-
```
538+
```

0 commit comments

Comments
 (0)