You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To define general configurations like enabling scroll to zoom, disabling the modebar, etc.
323
323
Anything from https://plotly.com/javascript/configuration-options/.
324
324
325
+
## significant_changes_only
326
+
327
+
When true, will tell HA to only fetch datapoints with a different state as the one before.
328
+
More here: https://developers.home-assistant.io/docs/api/rest/ under `/api/history/period/<timestamp>`
329
+
330
+
Caveats:
331
+
1. zana-37 repoorts that `minimal_response: false` needs to be set to get all non-significant datapoints [here](https://github.com/dbuezas/lovelace-plotly-graph-card/issues/34#issuecomment-1085083597).
332
+
2. This configuration will be ignored (will be true) while fetching [Attribute Values](#Attribute-Values).
333
+
334
+
```yaml
335
+
significant_changes_only: true # defaults to false
336
+
```
337
+
338
+
## minimal_response
339
+
340
+
When true, tell HA to only return last_changed and state for states other than the first and last state (much faster).
341
+
More here: https://developers.home-assistant.io/docs/api/rest/ under `/api/history/period/<timestamp>`
342
+
343
+
Caveats:
344
+
1. This configuration will be ignored (will be true) while fetching [Attribute Values](#Attribute-Values).
345
+
346
+
```yaml
347
+
minimal_response: false # defaults to true
348
+
```
349
+
350
+
Update data every `refresh_interval` seconds. Use `0` or delete the line to disable updates
351
+
325
352
## hours_to_show:
326
353
327
354
How many hours are shown.
@@ -340,7 +367,6 @@ Update data every `refresh_interval` seconds. Use `0` or delete the line to disa
340
367
- ATTENTION: The development card is `type: custom:plotly-graph-dev`
341
368
- Either use Safari or Disbale [chrome://flags/#block-insecure-private-network-requests](chrome://flags/#block-insecure-private-network-requests): Chrome doesn't allow public network resources from requesting private-network resources - unless the public-network resource is secure (HTTPS) and the private-network resource provides appropriate (yet-undefined) CORS headers. More [here](https://stackoverflow.com/questions/66534759/chrome-cors-error-on-request-to-localhost-dev-server-from-remote-site)
0 commit comments