home automation

code changes