async def get_platform(self, name: Text):
if not self._is_init:<EOL><INDENT>await self.init()<EOL><DEDENT>if name not in self.platforms:<EOL><INDENT>self.platforms[name] =await self.build_platform(self.get_class(name), name)<EOL><DEDENT>return self.platforms[name]<EOL>
Get a valid instance of the specified platform. Do not cache this
object, it might change with configuration changes.