Tracker state does not trigger after the state not_home

Hello,

I have some trouble with triggering of zone change in a person or tracker when passing the not_home state.

what am i missing?

So when i do a manual state change from on_the_road to work it will work fine.
But when i do a manual state change from not_home to work i twill NOT work. (or the otherway around)

I first have to change the state not_home to something else and then to work

I got a very simple automation for example:

Trigger:

  • Platform: state
    Entity_id: person.mike

Action:

  • Service: notify.telegram
    Data:
    Message: the state change is triggerd

(The only thing that does work properly is from home to not_home and the otherway around)