diff --git a/docs/tariffs.mdx b/docs/tariffs.mdx index fe485b3bd..734f4943d 100644 --- a/docs/tariffs.mdx +++ b/docs/tariffs.mdx @@ -286,13 +286,29 @@ Plugins können weiterhin Daten in stündlichen Intervallen liefern, diese werde Siehe nachfolgendes Beispiel mit 15-Minuten-Intervallen: -```js +```json [ - { start: "2025-01-01T00:00:00Z", end: "2025-01-01T00:15:00Z", value: 25.0 }, - { start: "2025-01-01T00:15:00Z", end: "2025-01-01T00:30:00Z", value: 26.5 }, - { start: "2025-01-01T00:30:00Z", end: "2025-01-01T00:45:00Z", value: 24.8 }, - { start: "2025-01-01T00:45:00Z", end: "2025-01-01T01:00:00Z", value: 27.2 }, -]; + { + "start": "2025-01-01T00:00:00Z", + "end": "2025-01-01T00:15:00Z", + "value": 25.0 + }, + { + "start": "2025-01-01T00:15:00Z", + "end": "2025-01-01T00:30:00Z", + "value": 26.5 + }, + { + "start": "2025-01-01T00:30:00Z", + "end": "2025-01-01T00:45:00Z", + "value": 24.8 + }, + { + "start": "2025-01-01T00:45:00Z", + "end": "2025-01-01T01:00:00Z", + "value": 27.2 + } +] ``` Das Plugin wird einmal pro Stunde aktualisiert. diff --git a/docs/tariffs/_dynamischer_strompreis.mdx b/docs/tariffs/_dynamischer_strompreis.mdx index 5b5ba8b04..3f7aa45e3 100644 --- a/docs/tariffs/_dynamischer_strompreis.mdx +++ b/docs/tariffs/_dynamischer_strompreis.mdx @@ -36,13 +36,29 @@ Plugins können weiterhin Daten in stündlichen Intervallen liefern, diese werde Siehe nachfolgendes Beispiel mit 15-Minuten-Intervallen: -```js +```json [ - { start: "2025-01-01T00:00:00Z", end: "2025-01-01T00:15:00Z", value: 25.0 }, - { start: "2025-01-01T00:15:00Z", end: "2025-01-01T00:30:00Z", value: 26.5 }, - { start: "2025-01-01T00:30:00Z", end: "2025-01-01T00:45:00Z", value: 24.8 }, - { start: "2025-01-01T00:45:00Z", end: "2025-01-01T01:00:00Z", value: 27.2 }, -]; + { + "start": "2025-01-01T00:00:00Z", + "end": "2025-01-01T00:15:00Z", + "value": 25.0 + }, + { + "start": "2025-01-01T00:15:00Z", + "end": "2025-01-01T00:30:00Z", + "value": 26.5 + }, + { + "start": "2025-01-01T00:30:00Z", + "end": "2025-01-01T00:45:00Z", + "value": 24.8 + }, + { + "start": "2025-01-01T00:45:00Z", + "end": "2025-01-01T01:00:00Z", + "value": 27.2 + } +] ``` Das Plugin wird einmal pro Stunde aktualisiert. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/tariffs.mdx b/i18n/en/docusaurus-plugin-content-docs/current/tariffs.mdx index 5f9a4717a..ddb20f6a8 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/tariffs.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/tariffs.mdx @@ -282,11 +282,29 @@ The plugin must return a JSON structure containing a list of time periods and pr The date fields must be in the form `YYYY-MM-DDTHH:MM:SSZ` and the price in the correct currency unit (e.g. EUR). See the following example: -```js +```json [ - { start: "2025-01-01T00:00:00Z", end: "2025-01-01T01:00:00Z", value: 25.0 }, - { start: "2025-01-01T01:00:00Z", end: "2025-01-01T02:00:00Z", value: 30.0 }, -]; + { + "start": "2025-01-01T00:00:00Z", + "end": "2025-01-01T00:15:00Z", + "value": 25.0 + }, + { + "start": "2025-01-01T00:15:00Z", + "end": "2025-01-01T00:30:00Z", + "value": 26.5 + }, + { + "start": "2025-01-01T00:30:00Z", + "end": "2025-01-01T00:45:00Z", + "value": 24.8 + }, + { + "start": "2025-01-01T00:45:00Z", + "end": "2025-01-01T01:00:00Z", + "value": 27.2 + } +] ``` The plugin is updated once per hour. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/tariffs/_dynamic_electricity_price.mdx b/i18n/en/docusaurus-plugin-content-docs/current/tariffs/_dynamic_electricity_price.mdx index dd3365813..f4f21dab8 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/tariffs/_dynamic_electricity_price.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/tariffs/_dynamic_electricity_price.mdx @@ -31,11 +31,29 @@ The plugin must return a JSON structure containing a list of time periods and pr The date fields must be in the form `YYYY-MM-DDTHH:MM:SSZ` and the price in the correct currency unit (e.g. EUR). See the following example: -```js +```json [ - { start: "2025-01-01T00:00:00Z", end: "2025-01-01T01:00:00Z", value: 25.0 }, - { start: "2025-01-01T01:00:00Z", end: "2025-01-01T02:00:00Z", value: 30.0 }, -]; + { + "start": "2025-01-01T00:00:00Z", + "end": "2025-01-01T00:15:00Z", + "value": 25.0 + }, + { + "start": "2025-01-01T00:15:00Z", + "end": "2025-01-01T00:30:00Z", + "value": 26.5 + }, + { + "start": "2025-01-01T00:30:00Z", + "end": "2025-01-01T00:45:00Z", + "value": 24.8 + }, + { + "start": "2025-01-01T00:45:00Z", + "end": "2025-01-01T01:00:00Z", + "value": 27.2 + } +] ``` The plugin is updated once per hour.