From c7db195fe76823ed2a2920fe4146b3534451c1b4 Mon Sep 17 00:00:00 2001 From: Benjamin <46243805+bbr111@users.noreply.github.com> Date: Wed, 28 Dec 2022 12:29:24 +0100 Subject: [PATCH] Add documantation for service --- doc/installation.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/installation.md b/doc/installation.md index 669957ba..e44134f5 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -135,6 +135,14 @@ The following variables can be used within `value_template` and `date_template`: | `value.daysTo` | Days to collection | int | 0 = today, 1 = tomorrow, etc | | `value.types` | Waste types | list of strings | Use `join` filter to join types | +## HomeAssistant Service to manually update the source + +If you want to manually update the source, you can call the service: + +`waste_collection_schedule.source_update` + +Normally the configuration parametet 'fetch_time' is used to do this periodically. + ## Further help ## For a full example, see [custom_components/waste_collection_schedule/waste_collection_schedule/source/example.py](/custom_components/waste_collection_schedule/waste_collection_schedule/source/example.py).