They're both obsolete, but SHA-1 is still OK to use from a security point of view. For new development you might as well go with SHA-256, though. More information at http://en.wikipedia.org/wiki/SHA_hash_functions
Don't get me started about those stupid light bulbs.