From 209d03bd13dfb40c2e0b74fc650b165a1b8916af Mon Sep 17 00:00:00 2001 From: Robert Groot <8398505+iamrgroot@users.noreply.github.com> Date: Wed, 3 Jan 2024 10:40:16 +0100 Subject: [PATCH] EnergyZero: added config entry (#30460) --- source/_integrations/energyzero.markdown | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/_integrations/energyzero.markdown b/source/_integrations/energyzero.markdown index ee3088d958b..84a98fa45ac 100644 --- a/source/_integrations/energyzero.markdown +++ b/source/_integrations/energyzero.markdown @@ -59,10 +59,11 @@ The energy and gas prices are exposed using [service calls](/docs/scripts/servic ### Service `energyzero.get_gas_prices` -Fetches the gas prices. +Fetches the gas prices. The `config_entry` value be found using the Services tab in the Developer Tools, selecting the desired entity and then switching to YAML. | Service data attribute | Optional | Description | Example | | ---------------------- | -------- | ----------- | --------| +| `config_entry` | no | Config entry to use. | 1b4a46c6cba0677bbfb5a8c53e8618b0 | `incl_vat` | no | Defines whether the prices include or exclude VAT. | false | `start` | yes | Start time to get prices. Defaults to today 00:00:00 | 2023-01-01 00:00:00 | `end` | yes | End time to get prices. Defaults to today 00:00:00 | 2023-01-01 00:00:00 @@ -93,10 +94,11 @@ The response data is a dictionary with the gas timestamps and prices as string a ### Service `energyzero.get_energy_prices` -Fetches the energy prices. +Fetches the energy prices. The `config_entry` value be found using the Services tab in the Developer Tools, selecting the desired entity and then switching to YAML. | Service data attribute | Optional | Description | Example | | ---------------------- | -------- | ----------- | --------| +| `config_entry` | no | Config entry to use. Can be found using the Services tab in the Developer Tools and switching to YAML. | 1b4a46c6cba0677bbfb5a8c53e8618b0 | `incl_vat` | no | Defines whether the prices include or exclude VAT. | false | `start` | yes | Start time to get prices. Defaults to today 00:00:00 | 2023-01-01 00:00:00 | `end` | yes | End time to get prices. Defaults to today 00:00:00 | 2023-01-01 00:00:00 @@ -139,6 +141,7 @@ template: - service: energyzero.get_energy_prices response_variable: prices data: + config_entry: 1b4a46c6cba0677bbfb5a8c53e8618b0 incl_vat: false sensor: - name: Energy prices