Base values for enums

For convenience, is it possible to put the integer values for all enumerated values into their respective tables? Using their equivalents in the Squirrel code is fine, but once we send them to an external system (eg loggly), it’s difficult to know what they mean and the tables in the documentation are certainly not sequential. Yes, I could put a big switch statement in my code that converts the value into a string before posting it, but that’s clutter I don’t need. Instead, I’ve resorted temporarily inserting:

server.log(WAKEREASON_POWER_ON+" "+WAKEREASON_SW_RESET+" "+WAKEREASON_TIMER+" "+WAKEREASON_PIN1+" "+WAKEREASON_NEW_SQUIRREL +" "+WAKEREASON_SQUIRREL_ERROR+" "+WAKEREASON_NEW_FIRMWARE+" "+WAKEREASON_SNOOZE+" "+WAKEREASON_HW_RESET)

Thanks!

Yes - I’ll make a task to get those added!