def get_current_temperature(self, refresh=False):
if refresh:<EOL><INDENT>self.refresh()<EOL><DEDENT>try:<EOL><INDENT>return float(self.get_value('<STR_LIT>'))<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>return None<EOL><DEDENT>
Get current temperature