diff --git a/homematic-devices/hmip-scth230.js b/homematic-devices/hmip-scth230.js new file mode 100644 index 0000000..190e5f6 --- /dev/null +++ b/homematic-devices/hmip-scth230.js @@ -0,0 +1,9 @@ +const Accessory = require('./lib/accessory'); + +module.exports = class HmipSCTH230 extends Accessory { + init(config) { + this.addService('Switch', config.name) + .get('On', config.deviceAddress + ':8.STATE') + .set('On', config.deviceAddress + ':8.STATE'); + } +};