diff --git a/index.js b/index.js index 12c0836..3927990 100644 --- a/index.js +++ b/index.js @@ -67,7 +67,7 @@ module.exports = (app) => { } setState('stopped'); } else if (v.path === modePath && options.use_chargingmode) { - if (v.value === 'off') { + if (v.value === 'off' || v.value === null) { setState('stopped'); return; }