I’m curious if anyone has run across a way to do this.
I’d like to create a virtual device that subscribes to various other devices to provide one seamless device for SmartApps to use. One example I can think of is a virtual thermostat. This virtual thermostat would provide all the normal thermostat capabilities (humidity, temperature, set points, etc), but behind the scenes it would be grouping my Nest Thermostat, my separate relay for the whole house humidifier, the switch for my dehumidifier, bathroom fans, and the portable heater in my guest bedroom. In a perfect world, all these devices would be controlled by my thermostat, so I’d like to present that interface to SmartApps. The logic within this virtual thermostat would determine when it would use which device to satisfy the requested change. If I requested to lower the humidity, it could choose to use the bathroom fans to vent the extra humidity if the outside temp is close to the inside temp or use the dehumidifier if it’s very cold outside to save energy.
Is it possible to subscribe to capabilities of other devices from within a device type somehow?