diff --git a/src/devices/sonoff.js b/src/devices/sonoff.js index 5a800300dd7b1..b50b8d9dcf802 100644 --- a/src/devices/sonoff.js +++ b/src/devices/sonoff.js @@ -178,6 +178,8 @@ module.exports = [ await reporting.temperature(endpoint, {min: 5, max: constants.repInterval.MINUTES_30, change: 20}); await reporting.humidity(endpoint); await reporting.batteryPercentageRemaining(endpoint, {min: 3600, max: 7200}); + device.powerSource = 'Battery'; + device.save(); }, }, {