julianh2o / RokuAlexaLambdaSkill

An Alexa Skill that allows voice control of your Roku
MIT License
104 stars 55 forks source link

Clear `searchForRoku` Interval #22

Closed mikehobi closed 7 years ago

mikehobi commented 7 years ago

After the rokuAddress is set, it should not keep calling searchForRoku(), even if someone hard codes the rokuAddress it will still call repeatedly.

This will clear the setInterval once rokuAddress is no longer null

Also PS: love this project. It's been fun exploring Alexa capabilities.