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

1 Like

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

Day and night is one toggle.

Home and away would be another.

Home Presence Mode

I’m taking it one step further and adding “Home”, “Guest”, “Away”, and “Pre-Arrival”.

I’m doing this because each one of those means something different depending on the device:

  1. Security System
  2. Locks
  3. Notifications on issues such as leaks and cameras that you might not get in Home mode.
  4. HVAC and ceiling fans
  5. Lights
  6. Cameras
  7. Blinds
  8. Robot Vacuum

They all react differently to those 4 presence states.

Day 'n Night

The day and night one I affects my lights, but my HVAC zones are one a different schedule depending on the time of day, but not exactly day vs night. Blinds would typically close at sunset and open at sunrise, but that’s not the same time my lights shift to night mode atm.