The most frequent cause of a water softener 'not working' that has nothing to do with the softener itself: the bypass valve was left open after a service visit, a plumber's visit, or after filling a paddling pool — and no one noticed.
Hard water passes through the house. The unit appears to be running its cycles correctly. The salt level looks fine. But water is routing around the softener entirely via the bypass. A water hardness test strip on the soft water outlets reveals the problem instantly.
If you suddenly have hard water and cannot find an obvious fault with the softener, check the bypass valve position before anything else.