I’d like to start dabbling with writes some simple SmartApps. I haven’t done any real programming in MANY years so while I have some back ground in concepts and the ideas, practical application is very weak for me. In the past I’ve learned best by looking at example code and modifying it to my needs and learning based on what I know that app does.
So the first thing I wanted to do was make an app that could turn off a switch specified seconds after it was turned on. I see the power allowance program in the Green Living category which turns off a switch after specified minutes so figured this is a perfect app to copy and then modify. But I don’t see the code in the examples area. Am I just missing it? Does anyone have the code that they could copy here to get me up and running?