I just had an amazing new whole home water shutoff and water meter installed last week. It called a buoy https://www.buoy.ai/
The unit installs at the main incoming line and is able to categorize water usage (toliet, sink, irrigation, shower etc) and send alerts if it detects a leak. You can then shut off the water using your phone app. I thought it would be really cool if we could get a control4 driver to make announcements or trigger events based off of water usage. Also adding water detectors would add an additional layer of protection.