Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105737

Time Of Day automations - current time of day in list

$
0
0

I have a Time of Day sensor using the TOD platform.
I also have binary sensors for each time of day (DAY, MORNING, EVENING etc).
They’re all working well. But What I looking for is for a nice way with an automation to say.
Is the Current Time of day in MORNING, DAY or EVENING.

I know I could just add or conditions, but that makes for a fairly large automation.
Is there some sort of condition that would be the equivalent of

condition:
  entity_id: sensor.time_of_day
  in:
     - binary_sensor.DAY
     - binary_sensor.MORNING
     - binary_sensor.EVENING

Type thing

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>