<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_firmware(self):
 """Get the current firmware version."""

        self.get_status()
        try:
            self.firmware = self.data['fw_version']
        except TypeError:
            self.firmware = 'Unknown'

        return self.firmware