diff --git a/lib/ZwaveDevice.js b/lib/ZwaveDevice.js index b62a296..d4e893a 100644 --- a/lib/ZwaveDevice.js +++ b/lib/ZwaveDevice.js @@ -1061,6 +1061,9 @@ class ZwaveDevice extends Homey.Device { if (commandClassMeter && commandClassMeter.hasOwnProperty('METER_RESET')) { const result = await commandClassMeter.METER_RESET({}); if (result !== 'TRANSMIT_COMPLETE_OK') throw result; + + // Return if reset was successful + return; } throw new Error('missing_meter_reset_command'); }