Skip to content

Commit

Permalink
ignore UNREACH of heating groups (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Apr 18, 2019
1 parent 5e8b1ee commit a4e68b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homematic-devices/lib/accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ module.exports = class Accessory {
}

getError() {
return this.unreach ? new Error(this.hap.HAPServer.Status.SERVICE_COMMUNICATION_FAILURE) : null;
return (this.unreach && !['HM-CC-VG-1', 'HmIP-HEATING'].includes(this.config.description.TYPE)) ? new Error(this.hap.HAPServer.Status.SERVICE_COMMUNICATION_FAILURE) : null;
}

subscribe(datapointName, callback) {
Expand Down

0 comments on commit a4e68b5

Please sign in to comment.