For me the problem was that on other devices the "focus" settings had "share across devices" enabled. Note that macs also have this feature under System Prefs - Notifications and focus - focus tab - share across devices.
It didn't cause a problem until a week ago, since 15.6.1