code: def object_type(self):
          
  
          from .statusobject import AbstractSensor, AbstractActuator
          from .program import Program
          if isinstance(self, AbstractSensor):
              return 'sensor'
          elif isinstance(self, AbstractActuator):
              return 'actuator'
          elif isinstance(self, Program):
              return 'program'
          else:
              return 'other'
docs: A read-only property that gives the object type as string; sensor, actuator, program, other.
              Used by WEB interface templates.