Setting HASS to Home or Away

Not going to look at this until you format your code correctly (and also clarify what isn’t working).

Put three back-ticks ``` above and below your code section, and it will format correctly.

So you are happy being burgled if you are 60 miles away but not if you are 600 miles away ???
Why do you want a vacation mode again ?

do mean section it?? i don’t get it

my setting is

input_boolean:
  vacation_mode:
    initial: off
- alias: 'Vacation Mode for Master Bedroom Room ON'
  trigger:
    platform: time
    at: '20:30:00'
  condition:
    condition: state
    entity_id: input_boolean.vacation_mode
    state: 'on'
  action:
    service: light.turn_on
    entity_id: light.master_bedroom_cupboard_lights

- alias: 'Vacation Mode for Master Bedroom Room OFF'
  trigger:
    platform: time
    at: '22:30:00'
  condition:
    condition: state
    entity_id: input_boolean.vacation_mode
    state: 'on'
  action:
    service: light.turn_off
    entity_id: light.master_bedroom_cupboard_lights

So what happens if your HA system reboots while you’re on vacation?

nothing happen when i restart and turn on vacation mode and i wait until that time nothing happen.

Initial mode being off means if your HA restarts while you’re away, vacation mode is off…

yes when i restart is off but when turn it on nothing happen

What do you expect to happen? You have time triggers which means it will only trigger at that time.

so basically doesn’t trigger at that time and the lights doesn’t turn on

So you enabled the vacation mode, and then waited for that exact time you set?

yes i did and nothing happen after the exact time.

Any clue? To fix this problem