def get_home(self, home_id):
if home_id not in self._all_home_ids:<EOL><INDENT>_LOGGER.error("<STR_LIT>", home_id)<EOL>return None<EOL><DEDENT>if home_id not in self._homes.keys():<EOL><INDENT>self._homes[home_id] = TibberHome(home_id, self)<EOL><DEDENT>return self._homes[home_id]<EOL>
Retun an instance of TibberHome for given home id.