For a light bulb, when the power grid is off, it will be the same as though you have cut the power from the wall switch. The light bulb will be off until the power grid is back on. When the power grid is back on, the light bulb will turn on (even if it was turned off via the app) as long as the wall switch was left in the "on position".