added home automation snippets