Set default state on devices

Is it possible to set a default state on devices? Every time I restart HASS, everyone is set to “not_home”. This makes all my notifications go off to all our devices every restart, which is annoying.

I tried setting an “initial” option to “home,” but it didn’t work.

  initial: 'home'

Bump. This is a still a very annoying issue.

I came across this looking for an answer to a similar issue.

Every time I restart my HASS, my alerts about the status of my windows and doors annoy the crap out of me.

I guess you could use the start event in an automation to reset things, e.g.

- alias: Start automations
  hide_entity: True
     platform: homeassistant
     event: start
    - delay:
        seconds: 20
    - service: ....