Device Type preferences: input validation

Well, since I didn’t get any answers to my device type coding questions, I’ve gone ahead and posted my updates to the Everspring Flood (Utilitech Water Leak) sensor here: