Installing a softener
https://pub-a3d0921cc64d4b5c8a08eea958469665.r2.dev/tankless-water-heater-repair/what-358-mgl-hard-water-does-to-boerne-tankless-heaters.html
Installing a softener and a 5‑micron sediment filter upstream of the tankless in Boerne dramatically cuts flush frequency, prevents inlet screen clogs, and keeps thermistors reading accurately.