anchor.diff:    case attrib_utils:get_value(Private, pub_msgs) of
       {ok, PubMsgs} ->
         {ok, Private1} = attrib_utils:set_value(Private, pub_msgs, [{Topic, Payload} | PubMsgs]),
  -      NewBlockValues = block_common:execute({Config, Inputs, Outputs, Private1}, message);
  +      NewBlockState = block_common:execute({Config, Inputs, Outputs, Private1}, message);
   
       {error, Reason} ->
         log_server:error(err_updating_is_this_an_mqtt_pub_sub_block, [Reason, BlockName]),
  -      NewBlockValues = BlockState
  +      NewBlockState = BlockState
     end,
  -  {noreply, NewBlockValues};
  +  {noreply, NewBlockState};
   
   %% =====================================================================
   %% MQTT Client connected message
  
positive.code:   % Update the connection state in the block values and execute the block
    case attrib_utils:set_value(Private, conn_state, true) of
      {ok, Private1} ->
        NewBlockValues = block_common:execute({Config, Inputs, Outputs, Private1}, message);
  
      {error, Reason} ->
        log_server:error(err_updating_is_this_an_mqtt_pub_sub_block, [Reason, BlockName]),
        NewBlockValues = BlockState
    end,
    {noreply, NewBlockValues};
  
  %% =====================================================================
  %% MQTT Client disconnected message
  
negative.code:             true ->
                case attrib_utils:set_value(Outputs, ValueId, Value) of
                  {ok, NewOutputs} ->
                    NewBlockState = {Config, Inputs, NewOutputs, Private},
                    Result = ok;
                  {error, Reason} ->
                    NewBlockState = BlockState,
                    Result = {error, Reason}
                end;
  
              _ -> % Not an Output either, do nothing
                NewBlockState = BlockState,
                Result = {error, not_found}
            end
        end
    end,
    {reply, Result, NewBlockState};
  
  
  %% =====================================================================
  