Skip to content

Commit

Permalink
Merge pull request #292 from naofireblade/Fix-compatibility-sensors-(#…
Browse files Browse the repository at this point in the history
…291)

Fix #292 When joining the compatibility Services array with the HomeKit Services array, the original array is not modified, instead it returns a new array with both sets.
  • Loading branch information
dacarson authored May 8, 2024
2 parents fdb31aa + 30afaa6 commit d2c2089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accessories/currentConditions.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function CurrentConditionsWeatherAccessory(platform, stationIndex)
}
}
});
this.services.concat(compatibility.getServices(this));
this.services = this.services.concat(compatibility.getServices(this));

// Create information service
this.informationService = new Service.AccessoryInformation();
Expand Down

0 comments on commit d2c2089

Please sign in to comment.