Thermostats in particular are a bit of nightmare (I maintain two thermostat plugins, so I have lots of desk-shaped flat spots on my forehead). UPnP has one set of ideas about how they should work, which Vera loosely follows, but the implementation specifics vary widely as Vera's own interpretation vs that of the many plugins shows. The UI7 interface code itself is littered with exceptions and inconsistent tests for device types and capabilities. It looks like a series of kludges to get specific things working, and no apparent effort to step back and look at the 50,000ft view and refactor. I hope they straighten it out in UI8.