Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michiproep committed Dec 11, 2023
1 parent 3d8cfb0 commit 5f8878f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,6 @@ class HmIpCloudAccesspointAdapter extends utils.Adapter {
/* Start Channel Types */
_updateDeviceEnergySensorChannelStates(device, channel) {
let promises = [];
promises.push(...this._updateWeatherSensorPlusChannelStates(device, channel));
promises.push(this.secureSetStateAsync(`devices.${device.id}.channels.${channel}.gasVolumePerImpulse`, device.functionalChannels[channel].gasVolumePerImpulse, true));
promises.push(this.secureSetStateAsync(`devices.${device.id}.channels.${channel}.impulsesPerKWH`, device.functionalChannels[channel].impulsesPerKWH, true));
promises.push(this.secureSetStateAsync(`devices.${device.id}.channels.${channel}.connectedEnergySensorType`, device.functionalChannels[channel].connectedEnergySensorType, true));
Expand Down

0 comments on commit 5f8878f

Please sign in to comment.