The revised Federal Act on Data Protection (FADP) and the new Ordinance to the Federal Act on Data Protection (OFADP) entered into force on September 1, 2023. Since then, these provisions have also applied to companies in Switzerland (find out more here).
You can also find further information on the subject on the official Swiss government website.