From eba9378ece75a1ad023304d7dd67276dfe80b854 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Thu, 11 Jul 2019 07:28:37 -0400 Subject: [PATCH] Added weekday and day/night sensors --- binary_sensors/calendar.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/binary_sensors/calendar.yaml b/binary_sensors/calendar.yaml index 700fe0f..1dd3b66 100644 --- a/binary_sensors/calendar.yaml +++ b/binary_sensors/calendar.yaml @@ -2,3 +2,11 @@ country: US province: GA workdays: [mon, tue, wed, thu, fri] +- platform: tod + name: Night + after: sunset + before: sunrise +- platform: tod + name: Day + after: sunrise + before: sunset \ No newline at end of file