Read your employment contract carefully.
This law has come about because of that thing nobody talks about here- it's about the "being available 24/7" BS, whereby companies expect you to reply to emails after hours
They achieve this by expecting you to install Teams or Outlook on your phone, then they can get hold of you around the clock.
I've seen a lot of indoctrination in SA where people think their boss owns them, or they simply refuse to put up boundaries. In my current position, although remote, I have put up a boundary from day one- no Teams on my phone, no Outlook either.
Yes, this means I will be passed over for promotion and not get increases, but I have a long game in mind and the job is just a stepping stone.