Modes? Home, away etc

Hi all,

Coming from ST I had a location mode to choose from. Home, Away, Day and Night.

This could be set as a condition.

Does HA have something similar?

Thanks

look at helpers - in particular the Times of Day helper. You could set up a helper for Home, Away, Day and Night and configure the time frames. These create a simple switch that is exposed and usable as conditions in automations. see here: Integrations - Home Assistant (home-assistant.io)

you could also look at the sun entity and use offsets see here: Sun - Home Assistant (home-assistant.io)

hope this helps - I think there are few time of day posts on here so have a search - if i find one of the ones I’ve seen I’ll share