I searched through this forum but could not find anything on the topic. I’m looking for a way to use a date range for a PLEG condition. I have a house fan and would like to get a notification when it is colder outside than inside, but only during the summer months, say 1 June to 1 Oct.
c_ColderOutside = ((p_OutsideTemp - 2) <= p_InsideTemp) AND (!m_Vacation or !m_Away)
The above condition is true right now as it is colder outside than inside. But how can I add a date range to this? I thought about a Scheduled Input with a start time of *-06-01 and an end time of *10-01, but I believe this will only be true at midnight. Ideally I would like a date range with a time range. After 4:00 PM but before 11:00 PM but only between 1 June and 1 Oct.
Is that easy?