It Could Be Worse...
There's various reasons for why water damages happen. The sources vary. Most notably the kitchen, laundry room, or bathroom. Places where pipes or valves are commonly found that contain water. In this case, it was an overhead sprinkler. Sometimes there's nothing more frustrating than an item that's supposed to help us and save us from something that ends up doing the very opposite.
The sprinkler head that malfunctioned resulted in some unwanted water. Carpets had to be pulled up and padding underneath had to be removed. This isn't the first time a sprinkler head has been the cause of loss. When it happens next, you'll now who can handle it.