From 2194975b83660e2dc41f13789b69526ba005114e Mon Sep 17 00:00:00 2001 From: Marius <33354141+Mariusthvdb@users.noreply.github.com> Date: Sat, 15 Aug 2020 11:21:17 +0200 Subject: [PATCH] Update conditions.markdown (#14248) Seems 'when light' and 'when dark' were mixed up, corrected that. --- source/_docs/scripts/conditions.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/scripts/conditions.markdown b/source/_docs/scripts/conditions.markdown index 739abbcde46..cb824f79975 100644 --- a/source/_docs/scripts/conditions.markdown +++ b/source/_docs/scripts/conditions.markdown @@ -242,7 +242,7 @@ condition: after_offset: "-01:00:00" ``` -This is 'when light' - equivalent to a state condition on `sun.sun` of `above_horizon`. +This is 'when dark' - equivalent to a state condition on `sun.sun` of `below_horizon`. ```yaml condition: @@ -251,7 +251,7 @@ condition: before: sunset ``` -This is 'when dark' - equivalent to a state condition on `sun.sun` of `below_horizon`. +This is 'when light' - equivalent to a state condition on `sun.sun` of `above_horizon`. We cannot use both keys in this case as it will always be `false`.