code: def update_platform(self):
          
          self.chain.connection.log("Detecting hw platform")
          platform = self.driver.get_hw_platform(self.udi)
          if platform:
              self.chain.connection.log("HW Platform: {}".format(platform))
              self.platform = platform
docs: Update platform attribute.