Added homeSwitchedPushed() for later use in the main processing loop.