code: def dict(self, **kwargs):
          
          return dict(
              time                  = self.timestamp,
              serial_number         = self.serial_number,
              value                 = self.value,
              battery               = self.battery,
              supervision           = self.supervision,
              **kwargs
          )
docs: Dictionary representation.