Skip to content

Commit

Permalink
use WindowCovering service (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Nov 11, 2018
1 parent e533515 commit 755613b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion homematic-devices/hm-lc-ja1pbu-fm.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = class HmLcJa1 {
callback();
});

acc.addService(hap.Service.Window, config.name, subtype)
acc.addService(hap.Service.WindowCovering, config.name, subtype)
.updateCharacteristic(hap.Characteristic.CurrentPosition, getCurrent())
.updateCharacteristic(hap.Characteristic.CurrentVerticalTiltAngle, getCurrentSlat())
.updateCharacteristic(hap.Characteristic.TargetPosition, getTarget())
Expand Down Expand Up @@ -152,6 +152,7 @@ module.exports = class HmLcJa1 {
break;
case '1.WORKING_SLATS':
workingSlats = msg.value;
break;
default:
}
});
Expand Down

0 comments on commit 755613b

Please sign in to comment.