public ZWaveThermostat(ZWaveDevice device) { _device = device; _thermostat = device.BackingObject as GeneralThermostatV2; Core = new ZWaveThermostatCore(device); Fan = new ZWaveThermostatFan(device); _setpoints = new ZWaveSetpointCollection(device); if (_thermostat == null) { return; } SetCallbacks(); }