colinbendell / homebridge-blink-for-home

Blink For Home Camera Homebridge plugin
MIT License
89 stars 27 forks source link

Can't switch to "home/stay" mode #69

Open crowston opened 3 years ago

crowston commented 3 years ago

If you try to switch the system to home/stay mode, it quickly jumps to away. The problem is that the enum for stay mode is 0, which is getting interpreted in getArmed (at blink.js:247) as missing and replaced with away. I hacked it by not converting the armed mode from a string to a number, but there's probably a more elegant approach.