Best way to collect logs from the hub?

Change line 143 to this:

subscribe(illuminances, “illuminance”, illuminanceHandler)

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.