From 9408db44341216d7b826654d316ca5f8c2d6f5d6 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Fri, 24 Nov 2023 01:30:44 -0600 Subject: [PATCH] fixed references --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5c70e7b..b0edd23 100644 --- a/README.md +++ b/README.md @@ -70,10 +70,11 @@ Activates the room if the door opens when everything in the room is off. ### State Definition States can be defined 3 ways: -- Using the `time` key (parsed with [`appdaemon.adapi.ADAPI.parse_time`]) + +- Using the `time` key (parsed with [appdaemon.adapi.ADAPI.parse_time][]) - `HH:MM:SS[.ss]` - the time in Hours Minutes, Seconds and Microseconds, 24 hour format. - `sunrise|sunset [+|- HH:MM:SS[.ss]]` - time of the next sunrise or sunset with an optional positive or negative offset in Hours Minutes, Seconds and Microseconds. -- Using the `elevation` key (uses [`astral.sun.time_at_elevation`]) +- Using the `elevation` key (uses [astral.sun.time_at_elevation][]) - Requires an additional `direction` key with wither `rising` or `setting` Examples state for `states` key @@ -101,9 +102,6 @@ Examples state for `states` key brightness_pct: 10 ``` -[`appdaemon.adapi.ADAPI.parse_time`]: https://appdaemon.readthedocs.io/en/latest/AD_API_REFERENCE.html#appdaemon.adapi.ADAPI.parse_time -[`astral.sun.time_at_elevation`]: https://astral.readthedocs.io/en/latest/package.html#astral.sun.time_at_elevation - ## Running with Docker Use this command from the appdaemon config directory to clone this repo as a submodule (recommended):