original_docstring: Set temperature value when LCN input object is received.
docstring: Set temperature value when LCN input object is received.
docstring_tokens: Set temperature value when LCN input object is received .
code: def input_received(self, input_obj):
          """Set temperature value when LCN input object is received."""
          if not isinstance(input_obj, pypck.inputs.ModStatusVar):
              return
  
          if input_obj.get_var() == self.variable:
              self._current_temperature = \
                  input_obj.get_value().to_var_unit(self.unit)
          elif input_obj.get_var() == self.setpoint:
              self._is_on = not input_obj.get_value().is_locked_regulator()
              if self.is_on:
                  self._target_temperature = \
                      input_obj.get_value().to_var_unit(self.unit)
  
          self.async_schedule_update_ha_state()
code_tokens: def input_received ( self , input_obj ) : if not isinstance ( input_obj , pypck . inputs . ModStatusVar ) : return if input_obj . get_var ( ) == self . variable : self . _current_temperature = input_obj . get_value ( ) . to_var_unit ( self . unit ) elif input_obj . get_var ( ) == self . setpoint : self . _is_on = not input_obj . get_value ( ) . is_locked_regulator ( ) if self . is_on : self . _target_temperature = input_obj . get_value ( ) . to_var_unit ( self . unit ) self . async_schedule_update_ha_state ( )
short_docstring: Set temperature value when LCN input object is received.
short_docstring_tokens: Set temperature value when LCN input object is received .
comment: """Set temperature value when LCN input object is received."""