From ed4d0279e87ddf7b716e5b331cf320b6d88fa879 Mon Sep 17 00:00:00 2001 From: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> Date: Sat, 16 Nov 2024 15:20:09 +0000 Subject: [PATCH] Update example_chart.yml & apps-yaml.md (#1629) * Update example_chart.yml * [pre-commit.ci lite] apply automatic fixes * Update apps-yaml.md --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> --- docs/apps-yaml.md | 5 ++++- templates/example_chart.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/apps-yaml.md b/docs/apps-yaml.md index cf954a0c..ea9aae4b 100644 --- a/docs/apps-yaml.md +++ b/docs/apps-yaml.md @@ -668,12 +668,15 @@ If you have a different type of charger you will need to configure it manually. The template `apps.yaml` comes with a set of pre-defined sensor values that should match most EV chargers. Customise for your car charger sensor if it sets sensor values that are not in the list. -- **car_charging_now** - For some cases finding details of planned car charging is difficult to obtain (e.g. Ohme with Intelligent doesn't report slots).
+- **car_charging_now** - For some cases finding details of planned car charging is difficult to obtain.
The car_charging_now configuration item can be set to point to a Home Assistant sensor that tells you that the car is currently charging. Predbat will then assume this 30 minute slot is used for charging regardless of the plan.
If Octopus Intelligent Charging is enabled and car_charging_now indicates the car is charging then Predbat will also assume that this is a low rate slot for the car/house (and might therefore start charging the battery), otherwise electricity import rates are taken from the normal rate data. +**CAUTION:** Do not use car_charging_now with Predbat led charging or you will create an infinite loop. Do you use car_charging_now with Octopus intelligent +unless you can't make it work any other way as it will assume all car charging is at low rate. + - **car_charging_now_response** - Set to the range of positive responses for car_charging_now to indicate that the car is charging. Useful if you have a sensor for your car charger that isn't binary. diff --git a/templates/example_chart.yml b/templates/example_chart.yml index 1f6369bd..0a523b7f 100644 --- a/templates/example_chart.yml +++ b/templates/example_chart.yml @@ -231,7 +231,7 @@ header: graph_span: 72h span: start: day - offset: +0h + offset: -24h now: show: true series: