Open mathisoneric opened 6 years ago
Hey, thanks a lot for your contribution! I'm happy to see that someone is still interested in what we built. Sadly I did not work on this project for a longer time. If you can submit a pull request, otherwise I'll try to fix the issues as soon as possible.
https://github.com/fgebhart/smart_alarm/blob/44e684cc3541109a76f7a6986a2c6938234dfa3a/smart_alarm/smart_alarm#L530
Bug:
Issue:
For people like me who aren't running LEDs, your code still attempts to perform an LED rainbow upon loading:
Fix:
Only run the LED rainbow if the check_if_smartalarm_is_running_leds() function returns true: