added error checking for Flash Station Home sensor