aficustree / homebridge-alarmdecoder-platform

Homebridge plugin for the AlarmDecoder interface for Honeywell and DSC Alarm Systems. Exposes the security system and all zones (via Contact Sensors and Motion Sensors) to Apple's Homekit. Control your alarm through Siri.
Apache License 2.0
18 stars 11 forks source link

HomeBridge crashing bug (await in a non async function) #9

Closed jondthompson closed 4 years ago

jondthompson commented 4 years ago

await on line 41 of index.js cannot be in a non async function. The constructor cannot be an async function. I deleted it from my installation and it fixed homebridge (1.0.1) crashing.

aficustree commented 4 years ago

my bad, reverted