code: def on_property_change(self, name, old_value, new_value):
          
          if self._registration is not None:
              # use the registration to trigger the service event
              self._registration.set_properties({name: new_value})
docs: Called by the instance manager when a component property is modified
  
          :param name: The changed property name
          :param old_value: The previous property value
          :param new_value: The new property value